| Idx | Column Name | Data Type |
|---|---|---|
| * | AccessConfigurationId | int IDENTITY |
| LocationId | int | |
| LayoutCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Image | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| XmlLayout | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| EnvelopeId | int | |
| * | IsSeat | smallint |
| * | InVenueLimitActive | smallint DEFAULT 0 |
| InVenueLimit | int | |
| AllowNotification | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Enabled | smallint | |
| Indexes | ||
| PK__ADM_Acce__0904E02A6448AB87 | Primary Key ON AccessConfigurationId | |
| Foreign Key | ||
| FK__ADM_Acces__Locat__609D3A6E | LocationId ↗ ❏ CNF_Location | |
| FK_ADM_AccessConfiguration_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_ADM_AccessConfiguration_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fkSiaeLocationAccessConfigurationId | AccessConfigurationId ↙ ❏ SIAE_Location | |
| FK__CNF_SeatL__Acces__009FF5AC | AccessConfigurationId ↙ ❏ CNF_SeatLayout | |
| FK__CNF_SeatT__Acces__08411774 | AccessConfigurationId ↙ ❏ CNF_SeatTemplate | |
| FK__CNF_Space__Acces__11CA81AE | AccessConfigurationId ↙ ❏ CNF_SpaceStructure | |
| FK__CNF_Space__Acces__14A6EE59 | AccessConfigurationId ↙ ❏ CNF_SpaceStructure_OLD | |
| FK_DATA_MediaIdentifierNotRecognized_AccConfId | AccessConfigurationId ↙ ❏ DATA_MediaIdentifierNotRecognized | |
| FK__CNF_Perfo__Acces__3B01A16B | AccessConfigurationId ↙ ❏ CNF_Performance | |
| FK__ADM_Gate2__Acces__674A37FD | AccessConfigurationId ↙ ❏ ADM_Gate2AccessConfiguration | |
| FK__CNF_Event__Acces__59BB32B5 | AccessConfigurationId ↙ ❏ CNF_Event | |
| FK__CNF_Proje__Acces__51E506C3 | AccessConfigurationId ↙ ❏ CNF_Projection | |
| FK__DATA_Tick__Acces__5DE0C954 | AccessConfigurationId ↙ ❏ DATA_TicketUsage | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | WorkstationId | int |
| ParentWorkStationId | int | |
| * | RecordType | smallint |
| * | GateId | int |
| * | EntryControl | smallint |
| * | ExitControl | smallint |
| * | Status | smallint |
| * | Reentry | smallint |
| * | CounterMode | smallint |
| EntryCount | int | |
| ExitCount | int | |
| LoggedUserId | int | |
| AptNum | varchar(10) COLLATE Latin1_General_CI_AS | |
| * | AccessFilterType | smallint |
| * | DeviceId | int |
| IgnoreAntipassBack | smallint DEFAULT 0 | |
| FreeExitTime | datetime | |
| * | BiometricLevel | smallint DEFAULT 0 |
| IgnoreFailedUsages | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__ADM_Acce__35183A4DE9C18730 | Primary Key ON WorkstationId | |
| Foreign Key | ||
| FK__ADM_Acces__Devic__61915EA7 | DeviceId ↗ ❏ CNF_Device | |
| FK__ADM_Acces__GateI__628582E0 | GateId ↗ ❏ ADM_Gate | |
| FK__ADM_Acces__Logge__6379A719 | LoggedUserId ↗ ❏ CNF_User(UserId) | |
| FK__ADM_Acces__Paren__646DCB52 | ParentWorkStationId ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK__ADM_Acces__Works__6561EF8B | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_ADM_AccessPoint_UserId | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_ADM_AccessPoint_WorkstationId | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | GateId | int IDENTITY |
| * | GateAK | varchar(32) COLLATE Latin1_General_CI_AS |
| Name | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | LocationId | int |
| * | AccessFilterType | smallint |
| Latitude | varchar(200) COLLATE Latin1_General_CI_AS | |
| Longitude | varchar(200) COLLATE Latin1_General_CI_AS | |
| Offset | int | |
| ExternalCode | varchar(200) COLLATE Latin1_General_CI_AS | |
| AccessFilterExitType | smallint | |
| SortOrder | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ExternalLocationId | int | |
| Indexes | ||
| PK__ADM_Gate__9582C6509FA345EF | Primary Key ON GateId | |
| UQ__ADM_Gate__95820328AFD0E896 | Unique Key ON GateAK | |
| Foreign Key | ||
| FK__ADM_Gate__Locati__665613C4 | LocationId ↗ ❏ CNF_Location | |
| FK_ADM_Gate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_ADM_Gate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fk_CNF_TravelTime_FromGateId | GateId ↙ ❏ CNF_TravelTime(FromGateId) | |
| fk_CNF_TravelTime_ToGateId | GateId ↙ ❏ CNF_TravelTime(ToGateId) | |
| FK_CNF_LocationRoute2Gate_GateId | GateId ↙ ❏ CNF_LocationRoute2Gate | |
| FK_STAT_Admission_GateId | GateId ↙ ❏ STAT_Admission | |
| FK_CNF_LocationMatrixPrice_FromGateId | GateId ↙ ❏ CNF_LocationMatrixPrice(FromGateId) | |
| FK_CNF_LocationMatrixPrice_ToGateId | GateId ↙ ❏ CNF_LocationMatrixPrice(ToGateId) | |
| FK_DATA_MediaIdentifierNotRecognized_GateId | GateId ↙ ❏ DATA_MediaIdentifierNotRecognized | |
| FK__ADM_Acces__GateI__628582E0 | GateId ↙ ❏ ADM_AccessPoint | |
| FK__ADM_Gate2__GateI__683E5C36 | GateId ↙ ❏ ADM_Gate2AccessConfiguration | |
| FK__DATA_AptR__GateI__4B02FF0A | GateId ↙ ❏ DATA_AptRotationCount | |
| FK__DATA_Tick__GateI__5ED4ED8D | GateId ↙ ❏ DATA_TicketUsage | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Gate2AccessConfigurationId | int IDENTITY |
| * | AccessConfigurationId | int |
| * | GateId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__ADM_Gate__61C24754C367653E | Primary Key ON Gate2AccessConfigurationId | |
| Foreign Key | ||
| FK__ADM_Gate2__Acces__674A37FD | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK__ADM_Gate2__GateI__683E5C36 | GateId ↗ ❏ ADM_Gate | |
| FK_ADM_Gate2AccessConfiguration_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_ADM_Gate2AccessConfiguration_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocumentId | int IDENTITY |
| DocumentAK | varchar(50) COLLATE Latin1_General_CI_AS | |
| * | DocumentGUID | varchar(38) COLLATE Latin1_General_CI_AS |
| * | ContextType | smallint |
| LastUpdate | datetime | |
| DocumentType | smallint | |
| * | RepositoryType | smallint |
| FileName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| UserId | int | |
| Version | int | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| DocData | image | |
| Indexes | ||
| PK__ARC_Docu__1ABEEF0FB872C64A | Primary Key ON DocumentId | |
| UQ__ARC_Docu__704721A401122DDD | Unique Key ON DocumentGUID | |
| Idx_Document_Ak | Index ON DocumentAK | |
| Referring Foreign Key | ||
| FK__CNF_Board__Docum__04DA9AE4 | DocumentId ↙ ❏ CNF_BoardPackage | |
| FK_DATA_Ticket2Document_DocumentId | DocumentId ↙ ❏ DATA_Ticket2Document | |
| FK__ARC_Index__Docum__6932806F | DocumentId ↙ ❏ ARC_Index | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | IndexId | int IDENTITY |
| ObjectType | int | |
| ObjectId | int | |
| SortOrder | int | |
| * | DocumentId | int |
| DocumentType | smallint | |
| Indexes | ||
| PK__ARC_Inde__40BC8A413F229A72 | Primary Key ON IndexId | |
| IDX_ARCIDX_SORTORDER | Index ON ObjectId, DocumentId | |
| Foreign Key | ||
| FK__ARC_Index__Docum__6932806F | DocumentId ↗ ❏ ARC_Document | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:26 Script Version: 1 ******/
CREATE VIEW [dbo].[AccountHistory]
AS
SELECT
DateOrd,
DatePayment,
DateCreation,
ReservationAK,
TransactionAK,
AccountId,
paymentamount,
Debit,
Credit,
AmountDisc,
UserName,
Note,
SettleCreditPayType
FROM (SELECT P.PaymentDate AS DateOrd,
P.FPaymentDate AS DatePayment,
dtcreation.trdate AS DateCreation,
dr.ReservationAK,
dt.TransactionAK,
PC.AccountId,
P.PaymentAmount AS paymentamount,
CASE WHEN p.paymentamount > 0 THEN p.paymentamount ELSE 0 END AS Debit,
CASE WHEN p.paymentamount < 0 THEN case when dt.TransactionType <> 5 then ABS(p.paymentamount) else ABS(p.paymentamount) end ELSE 0 END AS Credit,
PC.AmountDisc,
cu.UserName,
dn.Note,
(case when pc.SettleTransactionId = dt.TransactionId then '' else cl.description end) SettleCreditPayType
FROM dbo.DATA_PaymentCredit AS PC WITH(NOLOCK) --HERE
INNER JOIN dbo.DATA_Payment AS P WITH(NOLOCK) ON (P.PaymentId = PC.PaymentId and P.PaymentStatus = 1)
left JOIN dbo.DATA_Transaction AS dt WITH(NOLOCK) ON dt.TransactionId = P.TransactionId
LEFT OUTER JOIN dbo.CNF_User AS cu WITH(NOLOCK) ON cu.UserId = dt.UserId
left JOIN dbo.DATA_Sale AS ds WITH(NOLOCK) ON ds.SaleId = dt.SaleId
left JOIN dbo.DATA_Note AS dn WITH(NOLOCK) ON dn.NoteKey = ds.SaleId AND dn.NoteType = 161
left JOIN dbo.DATA_Reservation AS dr WITH(NOLOCK) ON dr.SaleId = ds.SaleId
LEFT OUTER JOIN(SELECT MIN(FTransactionDate) AS trdate,
SaleId
FROM dbo.DATA_Transaction AS dt WITH(NOLOCK)
GROUP BY SaleId) AS dtcreation ON dtcreation.SaleId = ds.SaleId
LEFT OUTER JOIN (SELECT MIN(PaymentType) AS pttype,
TransactionId
FROM dbo.DATA_Payment AS dp WITH(NOLOCK)
WHERE dp.PaymentStatus = 1 --HERE
GROUP BY TransactionId) AS cs ON cs.TransactionId = PC.SettleTransactionId
LEFT OUTER JOIN dbo.CNF_LookUp AS cl ON cl.ItemId = cs.pttype AND cl.LookUpTableId = 7 AND P.PaymentStatus = 1
UNION ALL
SELECT dt.TransactionDate AS DateOrd,
dt.FTransactionDate AS DatePayment,
dt.FTransactionDate AS DateCreation,
NULL AS Expr1,
dt.TransactionAk AS Expr2,
L.ReferenceId AS AccountId,
-- ISSUE #55399 2015 05 15
L.EntryAmount + ISNULL(dpf.AmountFail,0) AS Expr3,
case when L.EntryAmount > 0 then L.EntryAmount else 0 end AS Debit,
-- ISSUE #55399 2015 05 15
case when L.EntryAmount < 0 then ABS(L.EntryAmount) - ISNULL(dpf.AmountFail,0) else 0 end AS Credit,
NULL AS Expr4,
cu.UserName,
dn.Note AS Expr5,
cl.description SettleCreditPayType
FROM dbo.DATA_Transaction AS dt WITH(NOLOCK)
LEFT JOIN DATA_Note as dn WITH(NOLOCK) on dn.NoteKey = dt.SaleId AND dn.NoteType = 161
INNER JOIN dbo.DATA_Ledger AS L WITH(NOLOCK) ON L.TransactionId = dt.TransactionId
INNER JOIN dbo.CNF_User AS cu WITH(NOLOCK) ON cu.UserId = dt.UserId
inner JOIN dbo.CNF_LedgerAccount AS LA WITH(NOLOCK) ON L.LedgerAccountId = LA.LedgerAccountId
INNER JOIN (SELECT MIN(PaymentType) AS pttype, TransactionId
FROM dbo.DATA_Payment AS dp WITH(NOLOCK)
-- ISSUE #55399 2015 05 15
WHERE dp.PaymentStatus = 1
GROUP BY TransactionId) AS cs_1 ON cs_1.TransactionId = dt.TransactionId
LEFT OUTER JOIN dbo.CNF_LookUp AS cl ON cl.ItemId = cs_1.pttype AND cl.LookUpTableId = 7
--- ISSUE #55399 2015 05 15
LEFT OUTER JOIN (SELECT SUM(ISNULL(DATA_Payment.PaymentAmount, 0)) AmountFail,
DATA_Payment.TransactionId
FROM DATA_Payment
WHERE DATA_Payment.PaymentStatus = 2
GROUP BY DATA_Payment.TransactionId) AS dpF ON dpF.TransactionId = dt.TransactionId
--- ISSUE #55399 2015 05 15
WHERE (dt.TransactionType in (34,6))
AND LA.SystemAccountId= 7
AND (L.ReferenceTable = 197)) AS CreditDebit | ||
| Idx | Column Name | Data Type |
| DateOrd | datetime | |
| DatePayment | datetime | |
| DateCreation | datetime | |
| ReservationAK | varchar(32) | |
| TransactionAK | varchar(32) | |
| AccountId | int | |
| paymentamount | float(8) | |
| Debit | float(8) | |
| Credit | float(8) | |
| AmountDisc | float(8) | |
| UserName | nvarchar(100) | |
| Note | nvarchar(-1) | |
| SettleCreditPayType | nvarchar(160) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccessFilterId | int IDENTITY |
| * | EntityTable | smallint |
| * | EntityId | int |
| * | AttributeId | int |
| * | Enabled | smallint |
| IsExit | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Acce__AB936916DA783B60 | Primary Key ON AccessFilterId | |
| Foreign Key | ||
| FK__CNF_Acces__Attri__6A26A4A8 | AttributeId ↗ ❏ CNF_Attribute | |
| FK_CNF_AccessFilter_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_AccessFilter_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| AccessToken | varchar(max) COLLATE Latin1_General_CI_AS | |
| Expiration | datetime | |
| IntegrationType | smallint |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountRestrictionId | int IDENTITY |
| StartDateTime | datetime | |
| EndDateTime | datetime | |
| * | Enabled | smallint |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | RestrictionType | smallint |
| ReservationAccountLimit | int | |
| TicketAccountLimit | int | |
| PerDayLimit | int | |
| PerWeekLimit | int | |
| PerMonthLimit | int | |
| PerYearLimit | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| PerQuarterLimit | int | |
| PerSemiAnnualLimit | int | |
| Limit | int | |
| AccountType | smallint | |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountRestriction2AccountId | int IDENTITY |
| * | AccountRestrictionId | int |
| DMGCategoryID | int | |
| AccountId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountRestriction2DMGCategoryId | int IDENTITY |
| * | AccountRestrictionId | int |
| DMGCategoryID | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountRestriction2EventId | int IDENTITY |
| * | AccountRestrictionId | int |
| EventID | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountRestriction2MatrixCellId | int IDENTITY |
| * | AccountRestrictionId | int |
| MatrixCellId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| IncludeAllTickets | smallint | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountRestriction2PerformanceId | int IDENTITY |
| * | AccountRestrictionId | int |
| PerformanceID | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AlternativeCodesId | int IDENTITY |
| EventId | int | |
| MatrixCellId | int | |
| AccountId | int | |
| * | Code | varchar(36) COLLATE Latin1_General_CI_AS |
| PerformanceId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Alte__6EBEEE9B4FD6FFF6 | Primary Key ON AlternativeCodesId | |
| Idx_CNF_AlternativeCodes_PerformanceId | Index ON PerformanceId | |
| Idx_CNF_AlternativeCodes_MatrixCellId | Index ON MatrixCellId | |
| Idx_CNF_AlternativeCodes_EventId | Index ON EventId | |
| Idx_CNF_AlternativeCodes_AccountId | Index ON AccountId | |
| Idx_CNF_AlternativeCodes_Code | Index ON MatrixCellId, EventId, AccountId, PerformanceId, Code | |
| Foreign Key | ||
| CNF_AlternativeCodes_fkCNF_Event | EventId ↗ ❏ CNF_Event | |
| CNF_AlternativeCodes_fkCNF_MatrixCell | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| CNF_AlternativeCodes_fkDATA_Account | AccountId ↗ ❏ DATA_Account | |
| FK_CNF_AlternativeCodes_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_AlternativeCodes_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AttributeId | int IDENTITY |
| * | AttributeTemplateId | int |
| RootId | int | |
| ParentId | int | |
| Name | nvarchar(256) COLLATE Latin1_General_CI_AS | |
| * | Code | nvarchar(128) COLLATE Latin1_General_CI_AS |
| * | Weight | int |
| * | ValidityOverride | smallint |
| * | Enabled | smallint |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | AttributeAK | varchar(20) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| RollingType | smallint | |
| RollingValueFrom | int | |
| RollingValueTo | int | |
| DmgCategoryId | int | |
| Indexes | ||
| PK__CNF_Attr__C18929EA70FC357D | Primary Key ON AttributeId | |
| Idx_Attribute_AttTemplateId_Enabled | Index ON AttributeTemplateId, Enabled | |
| Idx_Attribute_AttTemplateId | Index ON AttributeTemplateId | |
| Foreign Key | ||
| FK__CNF_Attri__Attri__74A4331B | AttributeTemplateId ↗ ❏ CNF_AttributeTemplate | |
| FK__CNF_Attri__DmgCa__4868EB86 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Attri__Paren__75985754 | ParentId ↗ ❏ CNF_Attribute(AttributeId) | |
| FK__CNF_Attri__RootI__768C7B8D | RootId ↗ ❏ CNF_Attribute(AttributeId) | |
| FK_CNF_Attribute_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Attribute_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fkSiaeCategoryAttributeId | AttributeId ↙ ❏ SIAE_Category | |
| FK__CNF_SeatC__Attri__77168B72 | AttributeId ↙ ❏ CNF_SeatCategory | |
| FK_CNF_ProductLinker_AttributeId | AttributeId ↙ ❏ CNF_ProductLinker | |
| fk_CausaleRiduzione_AttributeId | AttributeId ↙ ❏ SIAE_ExternalTicketRange(CausaleRiduzione) | |
| fk_OrdinePosto_AttributeId | AttributeId ↙ ❏ SIAE_ExternalTicketRange(OrdinePosto) | |
| fk_TipoTitolo_AttributeId | AttributeId ↙ ❏ SIAE_ExternalTicketRange(TipoTitolo) | |
| FK__CNF_MaskT__Attri__0F231F2D | AttributeId ↙ ❏ CNF_MaskTableItem | |
| FK_RR_CNF_Product_CNF_Attribute_AttributeId | AttributeId ↙ ❏ RR_CNF_Product | |
| FK__CNF_Matri__Attri__2141CF68 | AttributeId ↙ ❏ CNF_MatrixDimension | |
| FK__CNF_Perfo__Attri__448B0BA5 | AttributeId ↙ ❏ CNF_PerformanceFilter | |
| FK_SIAE_SIAE_PerformanceCapacity_AttributeId | AttributeId ↙ ❏ SIAE_PerformanceCapacity | |
| FK__CNF_Envel__Attri__521A10ED | AttributeId ↙ ❏ CNF_EnvelopeRight | |
| FK__CNF_Event__Attri__68FD7645 | AttributeId ↙ ❏ CNF_EventFilter | |
| FK__CNF_Acces__Attri__6A26A4A8 | AttributeId ↙ ❏ CNF_AccessFilter | |
| FK__CNF_Exter__Ticke__7933DE0E | AttributeId ↙ ❏ CNF_ExternalStoredInfo(TicketType1) | |
| FK__CNF_Exter__Ticke__7A280247 | AttributeId ↙ ❏ CNF_ExternalStoredInfo(TicketType2) | |
| FK__CNF_Exter__Ticke__7B1C2680 | AttributeId ↙ ❏ CNF_ExternalStoredInfo(TicketType3) | |
| FK__CNF_Attri__Paren__75985754 | AttributeId ↙ ❏ CNF_Attribute(ParentId) | |
| FK__CNF_Attri__RootI__768C7B8D | AttributeId ↙ ❏ CNF_Attribute(RootId) | |
| FK__CNF_Attri__Attri__7874C3FF | AttributeId ↙ ❏ CNF_Attribute_SaleValidity | |
| fkPromotionItemRule_Attribute | AttributeId ↙ ❏ CNF_PromotionItemRule | |
| FK__CNF_Attri__Attri__0015E5C7 | AttributeId ↙ ❏ CNF_AttributeSetDetail | |
| fkPromotionProduct_Attribute | AttributeId ↙ ❏ CNF_PromotionProduct | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AttributeSetId | int IDENTITY |
| * | AttributeIDs | varchar(4000) COLLATE Latin1_General_CI_AS |
| AttributeCodes | varchar(1000) COLLATE Latin1_General_CI_AS | |
| AttributeNames | nvarchar(1000) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Attr__FFADA8215ED142BE | Primary Key ON AttributeSetId | |
| Foreign Key | ||
| FK_CNF_AttributeSet_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_AttributeSet_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__Attri__13E7D44A | AttributeSetId ↙ ❏ CNF_MatrixCell | |
| FK__CNF_Attri__Attri__7F21C18E | AttributeSetId ↙ ❏ CNF_AttributeSetDetail | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AttributeSetDetail | int IDENTITY |
| * | AttributeSetId | int |
| * | AttributeId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Attr__7781E7985377622D | Primary Key ON AttributeSetDetail | |
| dta_index_CNF_AttributeSetDetail_AttributeSet | Index ON AttributeSetId, AttributeId | |
| idxCNF_AttributeSetDetail_AttributeSetId | Index ON AttributeSetId | |
| CNF_AttributeSetDetail_AttributeId | Index ON AttributeId | |
| Foreign Key | ||
| FK__CNF_Attri__Attri__0015E5C7 | AttributeId ↗ ❏ CNF_Attribute | |
| FK__CNF_Attri__Attri__7F21C18E | AttributeSetId ↗ ❏ CNF_AttributeSet | |
| FK_CNF_AttributeSetDetail_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_AttributeSetDetail_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AttributeTemplateId | int IDENTITY |
| SystemId | int | |
| ParentId | int | |
| * | AttributeTemplateAK | varchar(32) COLLATE Latin1_General_CI_AS |
| AttributeTemplateCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| AttributeTemplateSubType | smallint | |
| EffectPrice | smallint | |
| EventId | int | |
| * | SystemComponent | smallint |
| * | Weight | int DEFAULT 0 |
| * | Enabled | smallint DEFAULT 1 |
| Name | nvarchar(60) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Attr__18852FF52833D468 | Primary Key ON AttributeTemplateId | |
| UQ__CNF_Attr__1887E4D131AFC170 | Unique Key ON AttributeTemplateAK | |
| Foreign Key | ||
| FK__CNF_Attri__Event__010A0A00 | EventId ↗ ❏ CNF_Event | |
| FK__CNF_Attri__Paren__01FE2E39 | ParentId ↗ ❏ CNF_AttributeTemplate(AttributeTemplateId) | |
| FK__CNF_Attri__Syste__02F25272 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_AttributeTemplate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_AttributeTemplate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_DataM__Attri__1F8E9120 | AttributeTemplateId ↙ ❏ CNF_DataMask | |
| FK__CNF_Subsc__Attri__1C481021 | AttributeTemplateId ↙ ❏ CNF_Subscription | |
| FK__CNF_Attri__Attri__74A4331B | AttributeTemplateId ↙ ❏ CNF_Attribute | |
| fkPromotionItemRule_AttributeTemplate | AttributeTemplateId ↙ ❏ CNF_PromotionItemRule | |
| FK__CNF_Attri__Paren__01FE2E39 | AttributeTemplateId ↙ ❏ CNF_AttributeTemplate(ParentId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AttributeSaleValidityId | int IDENTITY |
| * | AttributeId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| DmgCategoryId | int | |
| AccountId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Attr__3DBD153D627CF084 | Primary Key ON AttributeSaleValidityId | |
| Foreign Key | ||
| FK__CNF_Attri__Accou__77809FC6 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Attri__Attri__7874C3FF | AttributeId ↗ ❏ CNF_Attribute | |
| FK__CNF_Attri__DmgCa__7968E838 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Attri__Opera__7A5D0C71 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Attri__SiteI__7B5130AA | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Attri__UserG__7C4554E3 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Attri__UserI__7D39791C | UserId ↗ ❏ CNF_User | |
| FK__CNF_Attri__Works__7E2D9D55 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_Attribute_SaleValidity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Attribute_SaleValidity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | BoardFavId | int IDENTITY |
| * | UserId | int |
| * | PriorityOrder | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Button | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Boar__133E8B520AD2D4A4 | Primary Key ON BoardFavId | |
| Foreign Key | ||
| FK__CNF_Board__UserI__03E676AB | UserId ↗ ❏ CNF_User | |
| FK_CNF_BoardFav_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_BoardFav_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | BoardPackageId | int IDENTITY |
| * | BoardPackageAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | SystemId | int |
| DocumentId | int | |
| PackageDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | SystemPackage | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Boar__2FA5BF504CDDC73E | Primary Key ON BoardPackageId | |
| UQ__CNF_Boar__2FA57E42003D8EE3 | Unique Key ON BoardPackageAK | |
| Foreign Key | ||
| FK__CNF_Board__Docum__04DA9AE4 | DocumentId ↗ ❏ ARC_Document | |
| FK__CNF_Board__Syste__05CEBF1D | SystemId ↗ ❏ CNF_System | |
| FK_CNF_BoardPackage_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_BoardPackage_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CRMTemplateId | int IDENTITY |
| * | CRMTemplateName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| CRMDescription | nvarchar(255) COLLATE Latin1_General_CI_AS | |
| * | CRMType | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_CRMT__C2E9F768BB50873E | Primary Key ON CRMTemplateId | |
| Foreign Key | ||
| FK_CNF_CRMTemplate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CRMTemplate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_CNF_CRMTemplateCNF_DmgCategory2CRMTemplate | CRMTemplateId ↙ ❏ CNF_DmgCategory2CRMTemplate | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CRMTemplateDetailId | int IDENTITY |
| * | CRMTemplateId | int |
| * | ObjType | int |
| * | CRMFieldName | varchar(255) COLLATE Latin1_General_CI_AS |
| IsSearchable | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_CRMT__885DEECD83674ECF | Primary Key ON CRMTemplateDetailId | |
| Foreign Key | ||
| FK_CNF_CRMTemplateDetail_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CRMTemplateDetail_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CalendarId | int IDENTITY |
| * | CalendarAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | CalendarName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | CalendarCode | nvarchar(8) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint DEFAULT 1 |
| * | SystemId | int |
| CalendarDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| TimeFrame | smallint | |
| PerformanceCreation | smallint | |
| Private | smallint DEFAULT 0 | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ConfigurePriceByDate | smallint | |
| DateRange | smallint | |
| DontIncludeLastDay | smallint | |
| LastDayEndTime | datetime | |
| Indexes | ||
| PK__CNF_Cale__53CFC44D157B850E | Primary Key ON CalendarId | |
| UQ__CNF_Cale__53CF855F59626E8F | Unique Key ON CalendarAK | |
| Foreign Key | ||
| FK__CNF_Calen__Syste__06C2E356 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Calendar_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Calendar_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Calen__Calen__08AB2BC8 | CalendarId ↙ ❏ CNF_CalendarValidity | |
| FK_CNF_Scheduler_CalendarId | CalendarId ↙ ❏ CNF_Scheduler | |
| FK__CNF_Envel__Calen__530E3526 | CalendarId ↙ ❏ CNF_EnvelopeRight | |
| Resource_Calendar | CalendarId ↙ ❏ RES_CNF_Resource | |
| ResourceType_Calendar | CalendarId ↙ ❏ RES_CNF_ResourceType | |
| FK_RES_ResourceCalendar_Celandar | CalendarId ↙ ❏ RES_ResourceCalendar | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CalendarShortcutId | int IDENTITY |
| * | CalendarId | int |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Code | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Cale__242616DB7EB6F80C | Primary Key ON CalendarShortcutId | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CalendarShortcutItemId | int IDENTITY |
| * | CalendarShortcutId | int |
| Name | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| SortOrder | int | |
| FromDate | datetime | |
| ToDate | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cale__BBBB5F8DE8E79AEB | Primary Key ON CalendarShortcutItemId | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TimeFrameId | int IDENTITY |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Color | varchar(10) COLLATE Latin1_General_CI_AS |
| * | Category | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cale__F918F41B95420AF6 | Primary Key ON TimeFrameId | |
| Foreign Key | ||
| FK_CNF_CalendarTimeFrame_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CalendarTimeFrame_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| CalendarTimeFrameItem_CalendarTimeFrame | TimeFrameId ↙ ❏ CNF_CalendarTimeFrameItem | |
| FK_CNF_CalendarValidity_TimeFrame | TimeFrameId ↙ ❏ CNF_CalendarValidity | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TimeFrameItemId | int IDENTITY |
| * | TimeFrameId | int |
| FromTime | datetime | |
| * | Durantion | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cale__5F4A11C31ACF84CA | Primary Key ON TimeFrameItemId | |
| Foreign Key | ||
| CalendarTimeFrameItem_CalendarTimeFrame | TimeFrameId ↗ ❏ CNF_CalendarTimeFrame | |
| FK_CNF_CalendarTimeFrameItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CalendarTimeFrameItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CalendarValidityId | int IDENTITY |
| * | CalendarId | int |
| * | CalendarDate | datetime |
| CalendarStatus | smallint | |
| TimeFrameId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cale__5BF9BE0B604527C9 | Primary Key ON CalendarValidityId | |
| Id | Unique Index ON CalendarId, CalendarDate | |
| Foreign Key | ||
| FK__CNF_Calen__Calen__08AB2BC8 | CalendarId ↗ ❏ CNF_Calendar | |
| FK_CNF_CalendarValidity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CalendarValidity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_CalendarValidity_TimeFrame | TimeFrameId ↗ ❏ CNF_CalendarTimeFrame | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CatalogId | int IDENTITY |
| PriceListId | int | |
| ParentCatalogId | int | |
| * | CatalogEnabled | smallint |
| * | CatalogCode | varchar(10) COLLATE Latin1_General_CI_AS |
| CatalogName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| CatalogStartDate | datetime | |
| CatalogExpiration | datetime | |
| CatalogIndex | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cata__C2513B6883AA15A8 | Primary Key ON CatalogId | |
| Foreign Key | ||
| FK__CNF_Catal__Paren__0C7BBCAC | ParentCatalogId ↗ ❏ CNF_Catalog(CatalogId) | |
| FK__CNF_Catal__Price__0D6FE0E5 | PriceListId ↗ ❏ CNF_PriceList | |
| FK_CNF_Catalog_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Catalog_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Catal__Paren__0C7BBCAC | CatalogId ↙ ❏ CNF_Catalog(ParentCatalogId) | |
| FK__CNF_Catal__Catal__0E64051E | CatalogId ↙ ❏ CNF_Catalog2Product | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Catalog2ProductId | int IDENTITY |
| * | CatalogId | int |
| * | ProductId | int |
| PriceAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cata__1FB120EA36F4ECA9 | Primary Key ON Catalog2ProductId | |
| Foreign Key | ||
| FK__CNF_Catal__Catal__0E64051E | CatalogId ↗ ❏ CNF_Catalog | |
| FK__CNF_Catal__Produ__0F582957 | ProductId ↗ ❏ CNF_Product | |
| FK_CNF_Catalog2Product_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Catalog2Product_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CategoryId | int IDENTITY |
| Owner | int | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cate__19093A0B01BB3AE0 | Primary Key ON CategoryId | |
| Foreign Key | ||
| FK__CNF_Categ__Owner__104C4D90 | Owner ↗ ❏ CNF_Category(CategoryId) | |
| FK_CNF_Category_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Category_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Categ__Owner__104C4D90 | CategoryId ↙ ❏ CNF_Category(Owner) | |
| FK__CNF_Categ__Categ__114071C9 | CategoryId ↙ ❏ CNF_Category2Product | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Category2ProductId | int IDENTITY |
| * | CategoryId | int |
| * | ProductId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cate__32C222A55504714C | Primary Key ON Category2ProductId | |
| Foreign Key | ||
| FK__CNF_Categ__Categ__114071C9 | CategoryId ↗ ❏ CNF_Category | |
| FK__CNF_Categ__Produ__12349602 | ProductId ↗ ❏ CNF_Product | |
| FK_CNF_Category2Product_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Category2Product_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CharityId | int IDENTITY |
| * | CharityAK | nvarchar(32) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| * | CharityCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | CharityName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | CharityDescription | nvarchar(100) COLLATE Latin1_General_CI_AS |
| CharityRate | float | |
| Indexes | ||
| PK__CNF_Char__8189E594809CECF4 | Primary Key ON CharityId | |
| Referring Foreign Key | ||
| FK__DATA_Sale__Chari__6F97C740 | CharityId ↙ ❏ DATA_SaleItem2Gift | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ComboId | int IDENTITY |
| * | ComboProductId | int |
| * | ProductId | int |
| PrintedInReceipt | smallint | |
| Qty | float | |
| * | CanRemove | smallint |
| SubPrice | float | |
| * | CanAdded | smallint |
| AddPrice | float | |
| * | ElementType | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Comb__DD42582E8C04A19D | Primary Key ON ComboId | |
| Idx1 | Index ON ComboProductId, ProductId | |
| Foreign Key | ||
| FK__CNF_Combo__Combo__151102AD | ComboProductId ↗ ❏ CNF_Product(ProductId) | |
| FK__CNF_Combo__Produ__160526E6 | ProductId ↗ ❏ CNF_Product | |
| FK_CNF_Combo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Combo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Commission2AccountId | int IDENTITY |
| * | PayId | int |
| Enabled | smallint | |
| * | AccountId | int |
| StartCommValidity | datetime | |
| EndCommValidity | datetime | |
| CustomPayId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Comm__2EA2199B10F260F5 | Primary Key ON Commission2AccountId | |
| IDX_IncentiveAccount | Unique Index ON PayId, AccountId | |
| Foreign Key | ||
| FK__CNF_Commi__Accou__16F94B1F | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Commi__PayId__17ED6F58 | PayId ↗ ❏ CNF_PAY | |
| FK_CNF_Commission2Account_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Commission2Account_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FKCommision2Account_CustomPay | CustomPayId ↗ ❏ CNF_PAY(PayId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CostCenterId | int IDENTITY |
| * | CostCenterAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | CostCenterCode | varchar(10) COLLATE Latin1_General_CI_AS |
| CostCenterDescription | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint DEFAULT 1 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cost__89D876F1649E49AE | Primary Key ON CostCenterId | |
| UQ__CNF_Cost__89D837D3FE96FBD0 | Unique Key ON CostCenterAK | |
| Foreign Key | ||
| FK_CNF_CostCenter_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CostCenter_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Ledge__CostC__04A590BA | CostCenterId ↙ ❏ CNF_LedgerAccount | |
| FK__CNF_CostC__CostC__19D5B7CA | CostCenterId ↙ ❏ CNF_CostCenter_Validity | |
| FK_STAT_CostCenter_CostCenterId | CostCenterId ↙ ❏ STAT_CostCenter | |
| FK_DATA_SaleItem2CostCenter_CostCenterId | CostCenterId ↙ ❏ DATA_SaleItem2CostCenter | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CostCenterValidityId | int IDENTITY |
| * | CostCenterId | int |
| * | MatrixCellId | int |
| * | FromDate | datetime |
| * | ToDate | datetime |
| Price | float | |
| Percentage | float | |
| RemaningValues | bit | |
| SiteId | int | |
| CostCenterType | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cost__F96A0842C908FB5B | Primary Key ON CostCenterValidityId | |
| IDX_CNF_CostCenter_Validity_MatrixcellId | Index ON MatrixCellId | |
| Foreign Key | ||
| FK__CNF_CostC__CostC__19D5B7CA | CostCenterId ↗ ❏ CNF_CostCenter | |
| FK__CNF_CostC__Matri__1AC9DC03 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__CNF_CostC__SiteI__1BBE003C | SiteId ↗ ❏ CNF_Site | |
| FK_CNF_CostCenter_Validity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CostCenter_Validity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CurrencyId | int IDENTITY |
| * | SystemId | int |
| * | ISOCode | varchar(3) COLLATE Latin1_General_CI_AS |
| * | ISOCodeNumeric | int |
| * | CurrencyType | smallint |
| * | Symbol | varchar(10) COLLATE Latin1_General_CI_AS |
| * | PosOnDisplay | smallint |
| * | Name | nvarchar(20) COLLATE Latin1_General_CI_AS |
| Format | varchar(30) COLLATE Latin1_General_CI_AS | |
| * | ExchDecimals | smallint |
| * | ExchangeRate | float |
| * | RoundDecimals | smallint |
| RoundingRuleId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Curr__14470AF0DA5704E4 | Primary Key ON CurrencyId | |
| Foreign Key | ||
| FK__CNF_Curre__Round__1CB22475 | RoundingRuleId ↗ ❏ CNF_RoundingRule | |
| FK__CNF_Curre__Syste__1DA648AE | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Currency_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Currency_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Depo__Curre__59511E61 | CurrencyId ↙ ❏ DATA_DepositDetail | |
| FK_DATA_Product_CurrencyId | CurrencyId ↙ ❏ DATA_Product | |
| FK__CNF_Curre__Curre__1E9A6CE7 | CurrencyId ↙ ❏ CNF_CurrencyDetail | |
| FK_STAT_CreditCard_CurrencyId | CurrencyId ↙ ❏ STAT_CreditCard | |
| FK_STAT_Payment_CurrencyId | CurrencyId ↙ ❏ STAT_Payment | |
| FK__DATA_Paym__Curre__78C9C9BA | CurrencyId ↙ ❏ DATA_Payment | |
| FK__DATA_Sale__Curre__1471E42F | CurrencyId ↙ ❏ DATA_Sale | |
| FK_CNF_ExchangeRate_FromCurrencyId | CurrencyId ↙ ❏ CNF_ExchangeRate(FromCurrencyId) | |
| FK_CNF_ExchangeRate_ToCurrencyId | CurrencyId ↙ ❏ CNF_ExchangeRate(ToCurrencyId) | |
| FK__DATA_Tick__Curre__4DAA618B | CurrencyId ↙ ❏ DATA_Ticket | |
| FK__CNF_FundC__Curre__7EECB764 | CurrencyId ↙ ❏ CNF_FundCash | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CurrencyDetailId | int IDENTITY |
| * | CurrencyId | int |
| * | FundCategory | smallint |
| * | Amount | float |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Curr__02DDFBA82ABD6495 | Primary Key ON CurrencyDetailId | |
| UQ_CurrencyDetail | Unique Index ON CurrencyId, FundCategory, Amount | |
| Foreign Key | ||
| FK__CNF_Curre__Curre__1E9A6CE7 | CurrencyId ↗ ❏ CNF_Currency | |
| FK_CNF_CurrencyDetail_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CurrencyDetail_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CustomColorId | tinyint IDENTITY |
| ColorA | char(6) COLLATE Latin1_General_CI_AS | |
| ColorB | char(6) COLLATE Latin1_General_CI_AS | |
| ColorC | char(6) COLLATE Latin1_General_CI_AS | |
| ColorD | char(6) COLLATE Latin1_General_CI_AS | |
| ColorE | char(6) COLLATE Latin1_General_CI_AS | |
| ColorF | char(6) COLLATE Latin1_General_CI_AS | |
| ColorG | char(6) COLLATE Latin1_General_CI_AS | |
| ColorH | char(6) COLLATE Latin1_General_CI_AS | |
| ColorI | char(6) COLLATE Latin1_General_CI_AS | |
| ColorJ | char(6) COLLATE Latin1_General_CI_AS | |
| ColorK | char(6) COLLATE Latin1_General_CI_AS | |
| ColorL | char(6) COLLATE Latin1_General_CI_AS | |
| ColorM | char(6) COLLATE Latin1_General_CI_AS | |
| ColorN | char(6) COLLATE Latin1_General_CI_AS | |
| ColorO | char(6) COLLATE Latin1_General_CI_AS | |
| ColorP | char(6) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Cust__0ACD2AAD2CC87816 | Primary Key ON CustomColorId | |
| Foreign Key | ||
| FK_CNF_CustomColor_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_CustomColor_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DBColumnId | int IDENTITY |
| ColumnName | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Active | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DBTableId | int | |
| Logged | smallint | |
| Indexes | ||
| PK__CNF_DBCo__31DC23D5E6DA4861 | Primary Key ON DBColumnId | |
| Idx_HistoryLog_2 | Index ON DBTableId | |
| Idx_HistoryLog_1 | Index ON DBTableId | |
| Foreign Key | ||
| FK_CNF_DBColumn_DBTableId | DBTableId ↗ ❏ CNF_DBTable | |
| FK_CNF_DBColumn_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DBColumn_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DATA_HL_Detail_DBColumnId | DBColumnId ↙ ❏ DATA_HL_Detail | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DBGroupId | int IDENTITY |
| SubModelId | int | |
| Name | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| SystemDefined | smallint | |
| Enabled | smallint | |
| Active | smallint | |
| Code | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DBGr__E91586047D2BB180 | Primary Key ON DBGroupId | |
| Foreign Key | ||
| FK_CNF_DBGroup_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DBGroup_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_CNF_DBTable2DBGroup_DBGroupId | DBGroupId ↙ ❏ CNF_DBTable2DBGroup | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DBInfoId | int IDENTITY |
| * | DBInfoType | smallint |
| * | ParamName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | ParamValue | nvarchar(50) COLLATE Latin1_General_CI_AS |
| FileTimestamp | datetime | |
| Indexes | ||
| PK__CNF_DBIn__0C3F711030F881F3 | Primary Key ON DBInfoId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DBTableId | int IDENTITY |
| TableName | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Active | smallint | |
| Logged | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| GroupNames | nvarchar(1000) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_DBTa__133DC424683D456F | Primary Key ON DBTableId | |
| IDX_CNF_DBTable_TableName | Unique Index ON TableName | |
| Foreign Key | ||
| FK_CNF_DBTable_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DBTable_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_CNF_DBTable2DBGroup_DBTableId | DBTableId ↙ ❏ CNF_DBTable2DBGroup | |
| FK_CNF_DBColumn_DBTableId | DBTableId ↙ ❏ CNF_DBColumn | |
| FK_DATA_HL_Master_DBTableId | DBTableId ↙ ❏ DATA_HL_Master | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DBTable2DBGroupId | int IDENTITY |
| * | DBTableId | int |
| * | DBGroupId | int |
| SystemDefined | smallint | |
| Enabled | smallint | |
| Active | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DBTa__40C054D3B60F81BE | Primary Key ON DBTable2DBGroupId | |
| Foreign Key | ||
| FK_CNF_DBTable2DBGroup_DBGroupId | DBGroupId ↗ ❏ CNF_DBGroup | |
| FK_CNF_DBTable2DBGroup_DBTableId | DBTableId ↗ ❏ CNF_DBTable | |
| FK_CNF_DBTable2DBGroup_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DBTable2DBGroup_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DataMaskId | int IDENTITY |
| MaskTableId | int | |
| * | MaskId | int |
| AttributeTemplateId | int | |
| * | DataType | smallint |
| * | FieldNumber | smallint |
| * | AnagCode | smallint |
| * | MaskGroup | smallint |
| FieldName | nvarchar(1000) COLLATE Latin1_General_CI_AS | |
| * | Width | smallint |
| * | Height | smallint |
| * | Posx | smallint |
| * | Posy | smallint |
| * | KeyNumber | smallint |
| RuleId | varchar(250) COLLATE Latin1_General_CI_AS | |
| ObjType | smallint | |
| Language | smallint | |
| FieldHint | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Required | smallint |
| * | IsUnique | smallint |
| * | MaskTableEdit | smallint |
| MaxLength | smallint | |
| DisplayFormat | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| SaveFormat | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| EditLevel | smallint | |
| VisibleLevel | smallint | |
| IgnoreComponentLink | smallint | |
| TabOrder | smallint | |
| DefaultValue | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| MinLength | smallint | |
| MasterObjectType | int | |
| MasterObjectTypeValue | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| MaxChoiceNum | smallint | |
| MinChoiceNum | smallint | |
| MasterObjectTypeCheckType | smallint | |
| RequiredLevel | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | IsHTMLabel | smallint DEFAULT 0 |
| FieldDescription | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| FieldRulesXML | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| FontStyleXML | nvarchar(500) COLLATE Latin1_General_CI_AS | |
| MaskIdDetail | int | |
| Indexes | ||
| PK__CNF_Data__D81D51F7E21CADB5 | Primary Key ON DataMaskId | |
| Idx_DataMask_Id | Index ON MaskId | |
| Foreign Key | ||
| FK__CNF_DataM__Attri__1F8E9120 | AttributeTemplateId ↗ ❏ CNF_AttributeTemplate | |
| FK__CNF_DataM__MaskI__2082B559 | MaskId ↗ ❏ CNF_Mask | |
| FK__CNF_DataM__MaskT__2176D992 | MaskTableId ↗ ❏ CNF_MaskTable | |
| FK_CNF_DataMask_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DataMask_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_DataMask_MaskIdDetail | MaskIdDetail ↗ ❏ CNF_Mask(MaskId) | |
| Referring Foreign Key | ||
| FK__DATA_DmgD__DataM__5D21AF45 | DataMaskId ↙ ❏ DATA_DmgData | |
| fk_DataMaskTrans_MaskId | DataMaskId ↙ ❏ CNF_DataMaskTranslation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DataMaskMultiUniqueId | int IDENTITY |
| * | ObjType | smallint |
| * | DmgCategories | nvarchar(200) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| * | Last_UserId_Log | int |
| * | Last_WorkstationId_Log | int |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Data__75B143A1761DCB9D | Primary Key ON DataMaskMultiUniqueId | |
| UQ__CNF_Data__399FEB4EE46BEA60 | Unique Key ON ObjType | |
| Foreign Key | ||
| FK_CNF_DataMaskMultiUnique_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DataMaskMultiUnique_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DataMaskTranslationId | int IDENTITY |
| * | LanguageId | int |
| * | DataMaskId | int |
| FieldName | nvarchar(1000) COLLATE Latin1_General_CI_AS | |
| FieldHint | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| RequiredError | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Data__2C5BF83C6D9BDC6B | Primary Key ON DataMaskTranslationId | |
| Idx_DataMask_Translation | Unique Index ON LanguageId, DataMaskId | |
| Foreign Key | ||
| FK_CNF_DataMaskTranslation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DataMaskTranslation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_DataMaskTrans_LangId | LanguageId ↗ ❏ CNF_Language | |
| fk_DataMaskTrans_MaskId | DataMaskId ↗ ❏ CNF_DataMask | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DatePriceId | int IDENTITY |
| * | MatrixCellId | int |
| * | CalendarId | int |
| Price | float | |
| Date | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Date__B56C00BB525222B9 | Primary Key ON DatePriceId | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DeliveryId | int IDENTITY |
| * | DeliveryAK | varchar(32) COLLATE Latin1_General_CI_AS |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Price | float |
| PriceType | smallint | |
| DaysBefore | int | |
| SortOrder | smallint | |
| DmgCategoryId | int | |
| ExtendedInfoId | int | |
| * | Enabled | int |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | MatrixCellId | int |
| * | ForceFlag | smallint DEFAULT 0 |
| * | Approved | smallint DEFAULT 0 |
| * | Paid | smallint DEFAULT 0 |
| * | Encode | smallint DEFAULT 0 |
| * | Validated | smallint DEFAULT 0 |
| * | Completed | smallint DEFAULT 0 |
| * | WorkingDays | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DoBulkOrder | smallint | |
| MinQuantityThreshold | int | |
| MaxQuantityThreshold | int | |
| DeliveryAdditionalFilterId | int | |
| Indexes | ||
| PK__CNF_Deli__626D8FCEC45238A1 | Primary Key ON DeliveryId | |
| Foreign Key | ||
| FK__CNF_Deliv__DmgCa__66B60677 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Deliv__Exten__67AA2AB0 | ExtendedInfoId ↗ ❏ CNF_DmgCategory(DmgCategoryId) | |
| FK__CNF_Deliv__Matri__43C1CFF5 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_Delivery_DeliveryAdditionalFilterId | DeliveryAdditionalFilterId ↗ ❏ CNF_DeliveryAdditionalFilter | |
| FK_CNF_Delivery_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Delivery_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Deliv__Deliv__3104013C | DeliveryId ↙ ❏ CNF_Delivery_Permission | |
| FK__CNF_Matri__Deliv__58BCECDB | DeliveryId ↙ ❏ CNF_MatrixCell2Delivery | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DeliveryAdditionalFilterId | int IDENTITY |
| * | Name | nvarchar(250) COLLATE Latin1_General_CI_AS |
| * | Code | nvarchar(200) COLLATE Latin1_General_CI_AS |
| * | Description | nvarchar(250) COLLATE Latin1_General_CI_AS |
| * | ObjType | smallint |
| MaskTableId | int | |
| MaskValue | nvarchar(500) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Deli__1B2B4589360D99A6 | Primary Key ON DeliveryAdditionalFilterId | |
| Foreign Key | ||
| FK_CNF_DeliveryAdditionalFIlter_MaskTableId | MaskTableId ↗ ❏ CNF_MaskTable | |
| Referring Foreign Key | ||
| FK_CNF_Delivery_DeliveryAdditionalFilterId | DeliveryAdditionalFilterId ↙ ❏ CNF_Delivery | |
| FK_CNF_DeliveryAdditionalFilter2MaskTableItem_DeliveryAdditionalFilterId | DeliveryAdditionalFilterId ↙ ❏ CNF_DeliveryAdditionalFilter2MaskTableItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DeliveryAdditionalFilter2MaskTableItemId | int IDENTITY |
| * | DeliveryAdditionalFilterId | int |
| * | MaskTableItemId | int |
| Indexes | ||
| PK__CNF_Deli__6031A696E252B367 | Primary Key ON DeliveryAdditionalFilter2MaskTableItemId | |
| Foreign Key | ||
| FK_CNF_DeliveryAdditionalFilter2MaskTableItem_DeliveryAdditionalFilterId | DeliveryAdditionalFilterId ↗ ❏ CNF_DeliveryAdditionalFilter | |
| FK_CNF_DeliveryAdditionalFilter2MaskTableItem_MasktableItemId | MaskTableItemId ↗ ❏ CNF_MaskTableItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DeliveryModeId | int IDENTITY |
| MailGroupId | smallint | |
| * | ShortDescr | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| DayBefore | smallint | |
| DeliveryPrice | float | |
| Logo | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Deli__8BAF031C070AB0E3 | Primary Key ON DeliveryModeId | |
| Foreign Key | ||
| FK_CNF_DeliveryMode_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DeliveryMode_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DeliveryPermissionId | int IDENTITY |
| * | DeliveryId | int |
| UserGroupId | int | |
| UserId | int | |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| * | Allow | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Deli__E4F4E6D16A9C647C | Primary Key ON DeliveryPermissionId | |
| Foreign Key | ||
| FK__CNF_Deliv__Deliv__3104013C | DeliveryId ↗ ❏ CNF_Delivery | |
| FK__CNF_Deliv__Opera__2F1BB8CA | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Deliv__SiteI__2E279491 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Deliv__UserG__2C3F4C1F | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Deliv__UserI__2D337058 | UserId ↗ ❏ CNF_User | |
| FK__CNF_Deliv__Works__300FDD03 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_Delivery_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Delivery_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DeviceId | int IDENTITY |
| * | DriverId | int |
| * | DeviceAk | varchar(32) COLLATE Latin1_General_CI_AS |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| * | SystemId | int |
| DefaultLevel | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Devi__49E12311A360F38B | Primary Key ON DeviceId | |
| UQ__CNF_Devi__49E1600DC7D50CDB | Unique Key ON DeviceAk | |
| Foreign Key | ||
| FK__CNF_Devic__Drive__25476A76 | DriverId ↗ ❏ CNF_Driver | |
| FK__CNF_Devic__Syste__263B8EAF | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Device_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Device_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Paym__Devic__7C9A5A9E | DeviceId ↙ ❏ DATA_PaymentCard | |
| FK__CNF_Payme__Devic__37311087 | DeviceId ↙ ❏ CNF_PaymentCard | |
| FK__CNF_Payme__Devic__391958F9 | DeviceId ↙ ❏ CNF_PaymentMethod | |
| FK__CNF_DocTe__Devic__3F073C79 | DeviceId ↙ ❏ CNF_DocTemplate2Device | |
| FK__ADM_Acces__Devic__61915EA7 | DeviceId ↙ ❏ ADM_AccessPoint | |
| FK__CNF_Works__Devic__3BC0BB7A | DeviceId ↙ ❏ CNF_WorkstationDevice | |
| fkDATA_Biometric_CNF_Device | DeviceId ↙ ❏ DATA_Biometric | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DmgCategoryId | int IDENTITY |
| DmgParentId | int | |
| * | DmgCategoryAK | varchar(32) COLLATE Latin1_General_CI_AS |
| DmgCategoryCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | DmgType | smallint |
| RecursiveName | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| DmgSubType | smallint | |
| LinkedDmgCat | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| SystemCategory | smallint | |
| DmgAccountFilter | smallint | |
| Indexes | ||
| PK__CNF_DmgC__D674ED155686EB85 | Primary Key ON DmgCategoryId | |
| UQ__CNF_DmgC__D6772EC32165C879 | Unique Key ON DmgCategoryAK | |
| Idx_DmgCat_Code_Type | Index ON DmgCategoryCode, DmgType | |
| Foreign Key | ||
| FK__CNF_DmgCa__DmgPa__272FB2E8 | DmgParentId ↗ ❏ CNF_DmgCategory(DmgCategoryId) | |
| FK_CNF_DmgCategory_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DmgCategory_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__DmgCa__0816FA42 | DmgCategoryId ↙ ❏ CNF_MatrixCellPermission | |
| FK_CNF_Trigger_Permission_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_Trigger_Permission | |
| fk_CNF_ShopCartValidationItem_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_ShopCartValidationItem | |
| FK_DATA_Product_DmgCategoryId | DmgCategoryId ↙ ❏ DATA_Product | |
| FK__CNF_Locat__DmgCa__0781FD65 | DmgCategoryId ↙ ❏ CNF_Location | |
| FK__CNF_SeatC__DmgCa__79F2F81D | DmgCategoryId ↙ ❏ CNF_SeatCategory_Permission | |
| FK_CNF_Promotion2Account_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_Promotion2Account | |
| FK_DATA_DmgDataDetails_DmgCategoryId | DmgCategoryId ↙ ❏ DATA_DmgDataDetails | |
| fk_CNF_Site_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_Site | |
| FK__DATA_Exte__DmgCa__275A9B71 | DmgCategoryId ↙ ❏ DATA_ExtendedInfo | |
| FK__CNF_Matri__DmgCa__3D09E56E | DmgCategoryId ↙ ❏ CNF_MatrixCell | |
| FK_CNF_Performance_SaleValidity_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_Performance_SaleValidity | |
| FK__CNF_Perfo__DmgCa__3024EB9C | DmgCategoryId ↙ ❏ CNF_Performance_Permission | |
| FK__CNF_Site___DmgCa__0B1D841F | DmgCategoryId ↙ ❏ CNF_Site_LoginPermission | |
| FK__CNF_Matri__Accou__1B88F612 | DmgCategoryId ↙ ❏ CNF_MatrixCellInfo(AccountDmgCatId) | |
| FK__CNF_Matri__ExtIn__1C7D1A4B | DmgCategoryId ↙ ❏ CNF_MatrixCellInfo(ExtInfoDmgCatId) | |
| fk_CNF_SpaceStructure_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_SpaceStructure | |
| FK__CNF_Stati__DmgCa__47C76B03 | DmgCategoryId ↙ ❏ CNF_StatisticalGroup | |
| FK_CNF_DmgCategoryCNF_DmgCategory2CRMTemplate | DmgCategoryId ↙ ❏ CNF_DmgCategory2CRMTemplate | |
| FK__CNF_Matri__DmgCa__26FAA8BE | DmgCategoryId ↙ ❏ CNF_MatrixSheet_SaleValidity | |
| FK__CNF_Subsc__DmgCa__1D3C345A | DmgCategoryId ↙ ❏ CNF_Subscription | |
| FK__CNF_DmgCa__DmgPa__272FB2E8 | DmgCategoryId ↙ ❏ CNF_DmgCategory(DmgParentId) | |
| FK__CNF_Surve__DmgCa__22F50DB0 | DmgCategoryId ↙ ❏ CNF_Survey | |
| fk_CNF_OpArea_CNF_DmgCategory | DmgCategoryId ↙ ❏ CNF_OperatingArea | |
| FK__CNF_DmgCa__DmgCa__2917FB5A | DmgCategoryId ↙ ❏ CNF_DmgCategory_Permission | |
| FK__CNF_DmgCa__Paren__2B0043CC | DmgCategoryId ↙ ❏ CNF_DmgCategory_Permission(ParentDmgCatId) | |
| FK_CNF_UpSellCategory_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_UpSellCategory | |
| fk_CNF_System_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_System | |
| FK__CNF_DmgCa__DmgCa__2FC4F8E9 | DmgCategoryId ↙ ❏ CNF_DmgCategory2Mask | |
| FK__CNF_DocTe__DmgCa__3489AE06 | DmgCategoryId ↙ ❏ CNF_DocTemplate | |
| FK__CNF_DocTe__DmgCa__385A3EEA | DmgCategoryId ↙ ❏ CNF_DocTemplate_Permission | |
| FK__CNF_Perfo__DmgCa__3BF5C5A4 | DmgCategoryId ↙ ❏ CNF_Performance | |
| FK__CNF_Perfo__DmgCa__46D346CA | DmgCategoryId ↙ ❏ CNF_PerformanceCategory | |
| FK__CNF_UpSel__DmgCa__553674BA | DmgCategoryId ↙ ❏ CNF_UpSell | |
| FK__CNF_Envel__DmgCa__45B43A08 | DmgCategoryId ↙ ❏ CNF_Envelope | |
| FK__DATA_Sale__DmgCa__2E31B632 | DmgCategoryId ↙ ❏ DATA_SaleItem2Dmg | |
| FK__CNF_Envel__DmgCa__4890A6B3 | DmgCategoryId ↙ ❏ CNF_Envelope_Permission | |
| FK__CNF_User__DmgCat__332B7579 | DmgCategoryId ↙ ❏ CNF_User | |
| FK__RES_CNF_R__DmgCa__30A40E89 | DmgCategoryId ↙ ❏ RES_CNF_RequirementTemplate | |
| FK__CNF_Envel__DmgCa__5402595F | DmgCategoryId ↙ ❏ CNF_EnvelopeRight | |
| FK__CNF_Produ__DmgCa__4B380934 | DmgCategoryId ↙ ❏ CNF_Producer | |
| FK__CNF_Event__DmgCa__5BA37B27 | DmgCategoryId ↙ ❏ CNF_Event | |
| FK__CNF_Event__DmgCa__625078B6 | DmgCategoryId ↙ ❏ CNF_Event_Permission | |
| FK__CNF_Deliv__DmgCa__66B60677 | DmgCategoryId ↙ ❏ CNF_Delivery | |
| FK__CNF_Deliv__Exten__67AA2AB0 | DmgCategoryId ↙ ❏ CNF_Delivery(ExtendedInfoId) | |
| fk_CNF_Workstation_CNF_DmgCategory | DmgCategoryId ↙ ❏ CNF_Workstation | |
| FK__CNF_ExtCa__DmgCa__6EB64F9B | DmgCategoryId ↙ ❏ CNF_ExtCardTypePermission | |
| FK__DATA_Acco__DmgCa__3E9D2825 | DmgCategoryId ↙ ❏ DATA_Account | |
| fk_CNF_SuggestiveSell_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_SuggestiveSell | |
| ResourceType_DmgCategory | DmgCategoryId ↙ ❏ RES_CNF_ResourceType | |
| FK__DATA_Tick__DmgCa__4E9E85C4 | DmgCategoryId ↙ ❏ DATA_Ticket | |
| fk_promotionevent_dmgcategoryid | DmgCategoryId ↙ ❏ CNF_PromotionEvent | |
| FK__CNF_Attri__DmgCa__4868EB86 | DmgCategoryId ↙ ❏ CNF_Attribute | |
| FK__CNF_Attri__DmgCa__7968E838 | DmgCategoryId ↙ ❏ CNF_Attribute_SaleValidity | |
| FK__CNF_Promo__DmgCa__61274A53 | DmgCategoryId ↙ ❏ CNF_PromotionPermission | |
| fk_CNF_FlexContract_CNF_DmgCategory | DmgCategoryId ↙ ❏ CNF_FlexContract | |
| FK_CNF_Donation_DmgCategoryId | DmgCategoryId ↙ ❏ CNF_Donation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DmgCategory2CRMTemplateId | int IDENTITY |
| * | DmgCategoryId | int |
| * | CRMTemplateId | int |
| CRMType | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DmgC__B6F03DAE5B55A471 | Primary Key ON DmgCategory2CRMTemplateId | |
| Foreign Key | ||
| FK_CNF_CRMTemplateCNF_DmgCategory2CRMTemplate | CRMTemplateId ↗ ❏ CNF_CRMTemplate | |
| FK_CNF_DmgCategory2CRMTemplate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DmgCategory2CRMTemplate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_DmgCategoryCNF_DmgCategory2CRMTemplate | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DmgCategory2MaskId | int IDENTITY |
| * | DmgType | int |
| DmgCategoryId | int | |
| * | MaskId | int |
| * | MaskPosition | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DmgC__1C809F0A2E813220 | Primary Key ON DmgCategory2MaskId | |
| Foreign Key | ||
| FK__CNF_DmgCa__DmgCa__2FC4F8E9 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_DmgCa__MaskI__30B91D22 | MaskId ↗ ❏ CNF_Mask | |
| FK_CNF_DmgCategory2Mask_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DmgCategory2Mask_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DmgCategoryPermissionId | int IDENTITY |
| * | ParentDmgCatId | int |
| SiteId | int | |
| WorkstationId | int | |
| DmgCategoryId | int | |
| UserId | int | |
| UserGroupId | int | |
| AccountId | int | |
| OperatingAreaId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DmgC__0B842623FCA1DF7C | Primary Key ON DmgCategoryPermissionId | |
| Foreign Key | ||
| FK__CNF_DmgCa__Accou__2823D721 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_DmgCa__DmgCa__2917FB5A | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_DmgCa__Opera__2A0C1F93 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_DmgCa__Paren__2B0043CC | ParentDmgCatId ↗ ❏ CNF_DmgCategory(DmgCategoryId) | |
| FK__CNF_DmgCa__SiteI__2BF46805 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_DmgCa__UserG__2CE88C3E | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_DmgCa__UserI__2DDCB077 | UserId ↗ ❏ CNF_User | |
| FK__CNF_DmgCa__Works__2ED0D4B0 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_DmgCategory_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DmgCategory_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocRepositoryId | int IDENTITY |
| * | SystemId | int |
| ParentId | int | |
| DocTemplateId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DocR__CEF52DA6050E2062 | Primary Key ON DocRepositoryId | |
| Foreign Key | ||
| FK__CNF_DocRe__DocTe__31AD415B | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK__CNF_DocRe__Paren__32A16594 | ParentId ↗ ❏ CNF_DocRepository(DocRepositoryId) | |
| FK__CNF_DocRe__Syste__339589CD | SystemId ↗ ❏ CNF_System | |
| FK_CNF_DocRepository_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DocRepository_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_DocRe__Paren__32A16594 | DocRepositoryId ↙ ❏ CNF_DocRepository(ParentId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocTemplateId | int IDENTITY |
| * | SystemId | int |
| * | DocTemplateAk | varchar(32) COLLATE Latin1_General_CI_AS |
| * | DocCntxType | smallint |
| * | DocTemplateType | smallint |
| * | DocTemplateName | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| DocDatasourceId | int | |
| PriorityOrder | smallint | |
| DmgCategoryId | int | |
| * | SystemTemplate | smallint |
| DirectPrint | nvarchar(300) COLLATE Latin1_General_CI_AS | |
| AttachedTicket | smallint | |
| DocTemplateGroup | varchar(50) COLLATE Latin1_General_CI_AS | |
| SendCalendar | smallint | |
| ReportDescription | nvarchar(1000) COLLATE Latin1_General_CI_AS | |
| Version | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| AttachedTicketByType | smallint | |
| Indexes | ||
| PK__CNF_DocT__5DDE450FDDCA6042 | Primary Key ON DocTemplateId | |
| UQ__CNF_DocT__5DDF863D35262C04 | Unique Key ON DocTemplateAk | |
| Idx_DocTemplate_DataSourceId | Index ON DocDatasourceId | |
| Foreign Key | ||
| FK__CNF_DocTe__DmgCa__3489AE06 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_DocTe__DocDa__357DD23F | DocDatasourceId ↗ ❏ CNF_DocTemplate(DocTemplateId) | |
| FK__CNF_DocTe__Syste__3671F678 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_DocTemplate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DocTemplate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DocTemplateId | DocTemplateId ↙ ❏ DATA_Ticket2Document | |
| FK__DATA_Trig__DocTe__7C655074 | DocTemplateId ↙ ❏ DATA_TriggerItem | |
| FK__CNF_Matri__DocTe__14DBF883 | DocTemplateId ↙ ❏ CNF_MatrixCell | |
| FK__CNF_Matri__Walle__2BA1C44F | DocTemplateId ↙ ❏ CNF_MatrixCell(WalletId) | |
| FK__CNF_Matri__Walle__64DA41AB | DocTemplateId ↙ ❏ CNF_MatrixCell(WalletId) | |
| FK__DATA_Medi__DocTe__6E4C3B47 | DocTemplateId ↙ ❏ DATA_Media | |
| FK_ExtInfoDocTemplateId | DocTemplateId ↙ ❏ CNF_MatrixCellInfo(ExtInfoDocTemplateId) | |
| FK__CNF_DocTe__DocTe__31D829E4 | DocTemplateId ↙ ❏ CNF_DocTemplate2IdentifierType | |
| FK_CNF_DocTermsAndConditions_DocTemplateId | DocTemplateId ↙ ❏ CNF_DocTermsAndConditions | |
| FK_CNF_Survey_DocTemplateId | DocTemplateId ↙ ❏ CNF_Survey | |
| FK__CNF_DocRe__DocTe__31AD415B | DocTemplateId ↙ ❏ CNF_DocRepository | |
| FK__CNF_DocTe__DocDa__357DD23F | DocTemplateId ↙ ❏ CNF_DocTemplate(DocDatasourceId) | |
| FK__CNF_DocTe__DocTe__394E6323 | DocTemplateId ↙ ❏ CNF_DocTemplate_Permission | |
| FK__CNF_DocTe__DocTe__3FFB60B2 | DocTemplateId ↙ ❏ CNF_DocTemplate2Device | |
| FK__CNF_DocTe__DocTe__40EF84EB | DocTemplateId ↙ ❏ CNF_DocTemplateParam | |
| FK__CNF_DocTe__DocTe__41E3A924 | DocTemplateId ↙ ❏ CNF_DocTemplateParamValue | |
| FK_CNF_MatrixCellDocument_DocTemplateId | DocTemplateId ↙ ❏ CNF_MatrixCellDocument | |
| FK__CNF_Trigg__DocTe__304F08CE | DocTemplateId ↙ ❏ CNF_Trigger | |
| FK_CNF_RenewalContract_FinalDocTemplateId | DocTemplateId ↙ ❏ CNF_RenewalContract(FinalDocTemplateId) | |
| FK_CNF_RenewalContract_PreviewDocTemplateId | DocTemplateId ↙ ❏ CNF_RenewalContract(PreviewDocTemplateId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocTemplate2DeviceId | int IDENTITY |
| PriorityOrder | smallint | |
| * | DocTemplateId | int |
| * | DeviceId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DocT__D87626D177D78441 | Primary Key ON DocTemplate2DeviceId | |
| Foreign Key | ||
| FK__CNF_DocTe__Devic__3F073C79 | DeviceId ↗ ❏ CNF_Device | |
| FK__CNF_DocTe__DocTe__3FFB60B2 | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK_CNF_DocTemplate2Device_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DocTemplate2Device_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocTemplate2IdentifierTypeId | int IDENTITY |
| * | DocTemplateId | int |
| IdentifierType | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DocT__746D6237D64C600F | Primary Key ON DocTemplate2IdentifierTypeId | |
| Foreign Key | ||
| FK__CNF_DocTe__DocTe__31D829E4 | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK_CNF_DocTemplate2IdentifierType_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DocTemplate2IdentifierType_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocTemplateParamId | int IDENTITY |
| * | DocTemplateId | int |
| * | ParamName | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | ParamType | smallint |
| CntxPropertyType | smallint | |
| ParamValue | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| ParamCaption | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DocT__99E6A652D16675E4 | Primary Key ON DocTemplateParamId | |
| Foreign Key | ||
| FK__CNF_DocTe__DocTe__40EF84EB | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK_CNF_DocTemplateParam_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DocTemplateParam_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_DocTe__DocTe__42D7CD5D | DocTemplateParamId ↙ ❏ CNF_DocTemplateParamValue | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocTemplateParamValueId | int IDENTITY |
| * | DocTemplateParamId | int |
| * | DocTemplateId | int |
| CntxPropertyType | smallint | |
| ParamValue | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| ParamCaption | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | ReadOnly | smallint |
| * | NotNull | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DocT__6A7ED22EA7A860EA | Primary Key ON DocTemplateParamValueId | |
| Foreign Key | ||
| FK__CNF_DocTe__DocTe__41E3A924 | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK__CNF_DocTe__DocTe__42D7CD5D | DocTemplateParamId ↗ ❏ CNF_DocTemplateParam | |
| FK_CNF_DocTemplateParamValue_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DocTemplateParamValue_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocTemplatePermissionId | int IDENTITY |
| * | DocTemplateId | int |
| SiteId | int | |
| WorkstationId | int | |
| DmgCategoryId | int | |
| UserId | int | |
| UserGroupId | int | |
| AccountId | int | |
| OperatingAreaId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_DocT__394C4F9AF9FDB4B4 | Primary Key ON DocTemplatePermissionId | |
| Foreign Key | ||
| FK__CNF_DocTe__Accou__37661AB1 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_DocTe__DmgCa__385A3EEA | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_DocTe__DocTe__394E6323 | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK__CNF_DocTe__Opera__3A42875C | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_DocTe__SiteI__3B36AB95 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_DocTe__UserG__3C2ACFCE | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_DocTe__UserI__3D1EF407 | UserId ↗ ❏ CNF_User | |
| FK__CNF_DocTe__Works__3E131840 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_DocTemplate_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DocTemplate_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DocTermsAndConditionsId | int IDENTITY |
| Mandatory | smallint | |
| DocTemplateId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| QuestionsList | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_DocT__3A0CF8A78613EC50 | Primary Key ON DocTermsAndConditionsId | |
| Foreign Key | ||
| FK_CNF_DocTermsAndConditions_DocTemplateId | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DonationId | int IDENTITY |
| * | DonationAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | DonationType | int |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| SortOrder | smallint | |
| DmgCategoryId | int | |
| * | Enabled | int |
| MatrixCellId_RoundUp | int | |
| MatrixCellId_Variable | int | |
| MatrixCellId_PercentageVariable | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| COAAccountId | int | |
| UseProductList | int | |
| Indexes | ||
| PK__CNF_Dona__C5082EFB1B643FED | Primary Key ON DonationId | |
| Foreign Key | ||
| FK_CNF_Donation_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_Donation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Donation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_Donation_Permission_DonationId | DonationId ↙ ❏ CNF_Donation_Permission | |
| FK_CNF_MatrixCell2Donation_DonationId | DonationId ↙ ❏ CNF_MatrixCell2Donation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DonationFormId | int IDENTITY |
| * | DonationFormName | nvarchar(12) COLLATE Latin1_General_CI_AS |
| DonationFormTitle | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| DonationFormDecline | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| DonationFormRound | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| DonationFormCurrency | nvarchar(3) COLLATE Latin1_General_CI_AS | |
| KeyValue1 | int | |
| KeyValue2 | int | |
| KeyValue3 | int | |
| KeyValue4 | int | |
| KeyValue5 | int | |
| KeyValue6 | int | |
| KeyValue7 | int | |
| KeyValue8 | int | |
| COAAccountId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Dona__263B91F3056084A2 | Primary Key ON DonationFormId | |
| Foreign Key | ||
| FK_CNF_DonationForm_COAAccountId | COAAccountId ↗ ❏ COA_CNF_Account | |
| FK_CNF_DonationForm_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_DonationForm_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DATA_Payment_DonationFormId | DonationFormId ↙ ❏ DATA_Payment | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DonationPermissionId | int IDENTITY |
| * | DonationId | int |
| UserGroupId | int | |
| UserId | int | |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| * | Allow | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Dona__A6EA6368B570FE68 | Primary Key ON DonationPermissionId | |
| Foreign Key | ||
| FK_CNF_Donation_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_Donation_Permission_DonationId | DonationId ↗ ❏ CNF_Donation | |
| FK_Donation_Permission_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_Donation_Permission_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_Donation_Permission_UserGroupId | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK_Donation_Permission_UserId | UserId ↗ ❏ CNF_User | |
| FK_Donation_Permission_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DriverId | int IDENTITY |
| * | SystemId | int |
| * | DriverAk | varchar(32) COLLATE Latin1_General_CI_AS |
| * | DriverType | smallint |
| DriverSubType | int | |
| IconType | smallint | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | FamilyType | smallint |
| Obsolete | smallint | |
| * | Enabled | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Driv__F1B1CD040D18EE08 | Primary Key ON DriverId | |
| UQ__CNF_Driv__F1B18E1077E448C4 | Unique Key ON DriverAk | |
| Foreign Key | ||
| FK__CNF_Drive__Syste__43CBF196 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Driver_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Driver_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Sched__Drive__6E814571 | DriverId ↙ ❏ CNF_Scheduler | |
| FK__CNF_Devic__Drive__25476A76 | DriverId ↙ ❏ CNF_Device | |
| FK__CNF_Payme__Drive__3A0D7D32 | DriverId ↙ ❏ CNF_PaymentMethod | |
| FK__DATA_Sche__Drive__3B8BB150 | DriverId ↙ ❏ DATA_SchedulerLog | |
| FK__CNF_Exter__Drive__75634D2A | DriverId ↙ ❏ CNF_ExternalCardType | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | EnvelopeId | int IDENTITY |
| * | SystemId | int |
| * | EnvelopeType | smallint |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| HoldCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Color | varchar(10) COLLATE Latin1_General_CI_AS | |
| DmgCategoryId | int | |
| * | Code | nvarchar(12) COLLATE Latin1_General_CI_AS DEFAULT ' ' |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Enve__5E149FF267956D3F | Primary Key ON EnvelopeId | |
| UQ_CNF_Envelope_EnvelopeNumber | Index ON SystemId, HoldCode | |
| Foreign Key | ||
| FK__CNF_Envel__DmgCa__45B43A08 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Envel__Syste__46A85E41 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Envelope_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Envelope_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Seat__Envelo__70698DE3 | EnvelopeId ↙ ❏ CNF_Seat | |
| FK__CNF_Envel__Envel__4984CAEC | EnvelopeId ↙ ❏ CNF_Envelope_Permission | |
| FK__CNF_Envel__Envel__4F3DA442 | EnvelopeId ↙ ❏ CNF_EnvelopeCapacity | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | EnvelopeCapacityId | int IDENTITY |
| CapacityId | int | |
| * | EnvelopeId | int |
| * | QuantityType | smallint |
| * | Quantity | int |
| * | InUseQuantity | int |
| * | BookedQuantity | int |
| * | PaidQuantity | int |
| * | PrintedQuantity | int |
| * | VoidedQuantity | int |
| * | RefundedQuantity | int |
| * | RefundedRelQuantity | int |
| SpaceStructureId | int | |
| SeatCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | HeldByChild | int |
| * | HeldByFather | int |
| Indexes | ||
| PK__CNF_Enve__1E2FD7A7AD3DAB7E | Primary Key ON EnvelopeCapacityId | |
| idx_CNF_EnvelopeCapacity_CategoryQty | Index ON SeatCategoryId, Quantity, SpaceStructureId | |
| idx_CNF_EnvelopeCapacity_Qty | Index ON SpaceStructureId, Quantity | |
| Foreign Key | ||
| FK__CNF_Envel__Envel__4F3DA442 | EnvelopeId ↗ ❏ CNF_Envelope | |
| FK__CNF_Envel__SeatC__5031C87B | SeatCategoryId ↗ ❏ CNF_SeatCategory | |
| FK__CNF_Envel__Space__5125ECB4 | SpaceStructureId ↗ ❏ CNF_SpaceStructure | |
| FK_CNF_EnvelopeCapacity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_EnvelopeCapacity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Sale__Envel__3019FEA4 | EnvelopeCapacityId ↙ ❏ DATA_SaleItem2Performance | |
| FK__DATA_Shop__Envel__45151B8A | EnvelopeCapacityId ↙ ❏ DATA_ShopCartItem | |
| FK__DATA_Tick__Envel__3C774A96 | EnvelopeCapacityId ↙ ❏ DATA_Ticket2Performance | |
| FK__DATA_Tick__Envel__7C07BFC6 | EnvelopeCapacityId ↙ ❏ DATA_Ticket2Performance | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | EnvelopeRightId | int IDENTITY |
| * | EnvelopeType | smallint |
| * | LineNumber | int |
| DmgCategoryId | int | |
| OperatingAreaId | int | |
| AttributeId | int | |
| UserGroupId | int | |
| UserId | int | |
| DateRangeStart | datetime | |
| DateRangeEnd | datetime | |
| CalendarId | int | |
| PromotionId | int | |
| PriceTableId | int | |
| PriceListId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Enve__498588622865E077 | Primary Key ON EnvelopeRightId | |
| Foreign Key | ||
| FK__CNF_Envel__Attri__521A10ED | AttributeId ↗ ❏ CNF_Attribute | |
| FK__CNF_Envel__Calen__530E3526 | CalendarId ↗ ❏ CNF_Calendar | |
| FK__CNF_Envel__DmgCa__5402595F | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Envel__Opera__54F67D98 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Envel__Price__55EAA1D1 | PriceTableId ↗ ❏ CNF_PriceTable | |
| FK__CNF_Envel__Price__56DEC60A | PriceListId ↗ ❏ CNF_PriceList | |
| FK__CNF_Envel__UserG__57D2EA43 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Envel__UserI__58C70E7C | UserId ↗ ❏ CNF_User | |
| FK_CNF_EnvelopeRight_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_EnvelopeRight_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | EnvelopePermissionId | int IDENTITY |
| * | EnvelopeId | int |
| SiteId | int | |
| WorkstationId | int | |
| DmgCategoryId | int | |
| UserId | int | |
| UserGroupId | int | |
| AccountId | int | |
| OperatingAreaId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Enve__AA17B2936BC88429 | Primary Key ON EnvelopePermissionId | |
| Foreign Key | ||
| FK__CNF_Envel__Accou__479C827A | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Envel__DmgCa__4890A6B3 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Envel__Envel__4984CAEC | EnvelopeId ↗ ❏ CNF_Envelope | |
| FK__CNF_Envel__Opera__4A78EF25 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Envel__SiteI__4B6D135E | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Envel__UserG__4C613797 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Envel__UserI__4D555BD0 | UserId ↗ ❏ CNF_User | |
| FK__CNF_Envel__Works__4E498009 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_Envelope_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Envelope_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | EventId | int IDENTITY |
| * | SystemId | int |
| ParentId | int | |
| * | EventAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | EventType | smallint |
| * | EventCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | EventName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Title1 | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Status | smallint |
| * | StartDate | datetime |
| * | EndDate | datetime |
| TimeOpening | int DEFAULT 0 | |
| * | TimeLimit | int DEFAULT 0 |
| * | TimeDuration | int DEFAULT 0 |
| PurgeDeltaTime | int | |
| * | SeatAllocation | smallint |
| MoneyCardId | int | |
| MoneyCardCost | float | |
| LocationId | int | |
| AccessConfigurationId | int | |
| DmgCategoryId | int | |
| Color | varchar(10) COLLATE Latin1_General_CI_AS | |
| AccountId | int | |
| * | BlockPerformanceOnSale | smallint DEFAULT 0 |
| TvmMaxTicketNum | int | |
| SortOrder | int | |
| PriceTableId | int | |
| SaleRestrictionId | int | |
| DefaultDuration | int | |
| * | IsResourceManagementEvent | smallint |
| DefaultFromTime | datetime | |
| DefaultToTime | datetime | |
| DefaultInterval | int | |
| DefaultTimeOpening | int | |
| DefaultTimeLimit | int | |
| DefaultMinOnScreen | int | |
| AllowNotification | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Note | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| LocationRouteId | int | |
| EventExternalCode | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| IntegrationType | smallint | |
| WaitListEnabled | smallint DEFAULT 0 | |
| MailTemplateId | int | |
| PrimaryEventId | int | |
| PrimaryEventTimeSpan | int | |
| * | SendingPostponedTicket | smallint DEFAULT 0 |
| * | TicketDelay | smallint DEFAULT 0 |
| BestSeatType | int | |
| * | IsVivaDotComEvent | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Even__7944C810BEDA7915 | Primary Key ON EventId | |
| UQ__CNF_Even__7946813655C0D39B | Unique Key ON EventAK | |
| Foreign Key | ||
| FK__CNF_Event__Acces__59BB32B5 | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK__CNF_Event__Accou__5AAF56EE | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Event__DmgCa__5BA37B27 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Event__Locat__5C979F60 | LocationId ↗ ❏ CNF_Location | |
| FK__CNF_Event__Money__5D8BC399 | MoneyCardId ↗ ❏ CNF_PaymentMethod(PaymentMethodId) | |
| FK__CNF_Event__Paren__5E7FE7D2 | ParentId ↗ ❏ CNF_Event(EventId) | |
| FK__CNF_Event__Syste__5F740C0B | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Event_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Event_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_Event_LocationRouteId | LocationRouteId ↗ ❏ CNF_LocationRoute | |
| fkEventDefaulPriceTable | PriceTableId ↗ ❏ CNF_PriceTable | |
| Referring Foreign Key | ||
| fkSiaeCategoryEventId | EventId ↙ ❏ SIAE_Category | |
| fk_EventId | EventId ↙ ❏ SIAE_ExternalTicketRange | |
| FK__DATA_Medi__Event__721CCC2B | EventId ↙ ❏ DATA_MediaIdentifierBlackList | |
| FK__CNF_Matri__Event__2512604C | EventId ↙ ❏ CNF_MatrixSheet | |
| FK__CNF_Subsc__Event__2018A105 | EventId ↙ ❏ CNF_Subscription2Performance | |
| FK__CNF_Perfo__Event__3CE9E9DD | EventId ↙ ❏ CNF_Performance | |
| FK__CNF_Perfo__Event__41AE9EFA | EventId ↙ ❏ CNF_PerformanceCategoryValidity | |
| FK_RES_CNF_Event_CNF_Event | EventId ↙ ❏ RES_CNF_Event | |
| FK__WEB_News__EventI__7F0CB2F5 | EventId ↙ ❏ WEB_News | |
| FK__CNF_Price__Event__4A43E4FB | EventId ↙ ❏ CNF_PriceTable | |
| FK__CNF_Event__Paren__5E7FE7D2 | EventId ↙ ❏ CNF_Event(ParentId) | |
| FK__CNF_Event__Event__63449CEF | EventId ↙ ❏ CNF_Event_Permission | |
| FK__CNF_Event__Event__69F19A7E | EventId ↙ ❏ CNF_EventFilter | |
| FK__CNF_Produ__Event__4FFCBE51 | EventId ↙ ❏ CNF_ProductValidity2Event | |
| CNF_AlternativeCodes_fkCNF_Event | EventId ↙ ❏ CNF_AlternativeCodes | |
| FK_PromotionEvent_Event | EventId ↙ ❏ CNF_PromotionEvent | |
| fk_CNF_SuggestiveSell2Event_EventId | EventId ↙ ❏ CNF_SuggestiveSell2Event | |
| FK__CNF_Attri__Event__010A0A00 | EventId ↙ ❏ CNF_AttributeTemplate | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | EventFilterId | int IDENTITY |
| * | AttributeId | int |
| * | EventId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Even__5F3BC2D623D3028D | Primary Key ON EventFilterId | |
| Foreign Key | ||
| FK__CNF_Event__Attri__68FD7645 | AttributeId ↗ ❏ CNF_Attribute | |
| FK__CNF_Event__Event__69F19A7E | EventId ↗ ❏ CNF_Event | |
| FK_CNF_EventFilter_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_EventFilter_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | EventPermissionId | int IDENTITY |
| * | EventId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| DmgCategoryId | int | |
| AccountId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Even__A9BA73E67D15040A | Primary Key ON EventPermissionId | |
| Foreign Key | ||
| FK__CNF_Event__Accou__615C547D | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Event__DmgCa__625078B6 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Event__Event__63449CEF | EventId ↗ ❏ CNF_Event | |
| FK__CNF_Event__Opera__6438C128 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Event__SiteI__652CE561 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Event__UserG__6621099A | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Event__UserI__67152DD3 | UserId ↗ ❏ CNF_User | |
| FK__CNF_Event__Works__6809520C | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_Event_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Event_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExchangeRateId | int IDENTITY |
| * | FromCurrencyId | int |
| * | ToCurrencyId | int |
| * | ExchangeRate | float |
| RoundDecimals | smallint | |
| RoundingRuleId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Exch__B056044928661487 | Primary Key ON ExchangeRateId | |
| Foreign Key | ||
| FK_CNF_ExchangeRate_FromCurrencyId | FromCurrencyId ↗ ❏ CNF_Currency(CurrencyId) | |
| FK_CNF_ExchangeRate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ExchangeRate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_ExchangeRate_RoundingRuleId | RoundingRuleId ↗ ❏ CNF_RoundingRule | |
| FK_CNF_ExchangeRate_ToCurrencyId | ToCurrencyId ↗ ❏ CNF_Currency(CurrencyId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExtCardTypePermissionId | int IDENTITY |
| * | ExternalCardTypeId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| AccountId | int | |
| DmgCategoryId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_ExtC__31500D1CBCC87B9A | Primary Key ON ExtCardTypePermissionId | |
| Foreign Key | ||
| FK__CNF_ExtCa__Accou__6DC22B62 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_ExtCa__DmgCa__6EB64F9B | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_ExtCa__Exter__6FAA73D4 | ExternalCardTypeId ↗ ❏ CNF_ExternalCardType | |
| FK__CNF_ExtCa__Opera__709E980D | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_ExtCa__SiteI__7192BC46 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_ExtCa__UserG__7286E07F | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_ExtCa__UserI__737B04B8 | UserId ↗ ❏ CNF_User | |
| FK__CNF_ExtCa__Works__746F28F1 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_ExtCardTypePermission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ExtCardTypePermission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExternalCardTypeId | int IDENTITY |
| * | Code | nchar(8) COLLATE Latin1_General_CI_AS |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Price | float | |
| * | SystemId | int |
| * | DriverId | int |
| MatrixCellId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Exte__D97C57C3A40DAD3E | Primary Key ON ExternalCardTypeId | |
| Foreign Key | ||
| FK__CNF_Exter__Drive__75634D2A | DriverId ↗ ❏ CNF_Driver | |
| FK__CNF_Exter__Matri__76577163 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__CNF_Exter__Syste__774B959C | SystemId ↗ ❏ CNF_System | |
| FK_CNF_ExternalCardType_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ExternalCardType_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_ExtCa__Exter__6FAA73D4 | ExternalCardTypeId ↙ ❏ CNF_ExtCardTypePermission | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExternalMediaTypeId | int IDENTITY |
| * | Code | nchar(8) COLLATE Latin1_General_CI_AS |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | SystemId | int |
| * | AllowOnTicketOnly | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| IsDefault | smallint | |
| Indexes | ||
| PK__CNF_Exte__EBBEE494F411CBA4 | Primary Key ON ExternalMediaTypeId | |
| Foreign Key | ||
| FK__CNF_Exter__Syste__783FB9D5 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_ExternalMediaType_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ExternalMediaType_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Medi__Exter__6F405F80 | ExternalMediaTypeId ↙ ❏ DATA_MediaIdentifier | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExternalMediaTypeId | int |
| TicketType1 | int | |
| TicketType2 | int | |
| TicketType3 | int | |
| AttributeTemplateId | int | |
| StoredInfoType | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Exte__EBBEE494B58F6B45 | Primary Key ON ExternalMediaTypeId | |
| Foreign Key | ||
| FK__CNF_Exter__Ticke__7933DE0E | TicketType1 ↗ ❏ CNF_Attribute(AttributeId) | |
| FK__CNF_Exter__Ticke__7A280247 | TicketType2 ↗ ❏ CNF_Attribute(AttributeId) | |
| FK__CNF_Exter__Ticke__7B1C2680 | TicketType3 ↗ ❏ CNF_Attribute(AttributeId) | |
| FK_CNF_ExternalStoredInfo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ExternalStoredInfo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExternalTicketRangeId | int IDENTITY |
| * | MatrixCellId | int |
| * | FromNumber | varchar(50) COLLATE Latin1_General_CI_AS |
| * | ToNumber | varchar(50) COLLATE Latin1_General_CI_AS |
| * | PriorityOrder | smallint |
| UserId | int | |
| * | ExtRangeType | smallint DEFAULT 1 |
| ValidFrom | datetime | |
| ValidTo | datetime | |
| ExternalTicketRangeIdParent | int | |
| * | Enabled | smallint DEFAULT 1 |
| MovementId | int | |
| OnlyOffline | smallint DEFAULT 0 | |
| NoUserId | int | |
| NumPMPGenerate | int DEFAULT 0 | |
| NumPMPSold | int DEFAULT 0 | |
| NumPMPBlocked | int DEFAULT 0 | |
| NumPMPStillToBeActivate | int DEFAULT 0 | |
| NumPMPOthers | int DEFAULT 0 | |
| VarRangeLength | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Exte__CDFDD49A8B083181 | Primary Key ON ExternalTicketRangeId | |
| Foreign Key | ||
| CNF_ExtTckRange_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| CNF_ExtTckRange_UserId | UserId ↗ ❏ CNF_User | |
| FK_CNF_ExternalTicketRange_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ExternalTicketRange_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fk_ExternalTicketRangeId | ExternalTicketRangeId ↙ ❏ SIAE_ExternalTicketRange | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | FiscalYearId | int IDENTITY |
| * | FiscalYearAK | varchar(32) COLLATE Latin1_General_CI_AS |
| FiscalYear | smallint | |
| FiscalMonth | smallint | |
| FiscalStartDate | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Fisc__A4E480EFA246057F | Primary Key ON FiscalYearId | |
| UQ__CNF_Fisc__A4E5418DDCA0C53D | Unique Key ON FiscalYearAK | |
| Foreign Key | ||
| FK_CNF_FiscalYear_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_FiscalYear_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | FlexContractId | int IDENTITY |
| * | FlexContractAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | FlexContractCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | FlexContractName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Duration | int |
| * | PaymentCycleType | smallint |
| PaymentCycleValue | int | |
| * | DownPaymentType | smallint |
| * | DownPaymentValue | float |
| DocNumber | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| StartDate | datetime | |
| EndDate | datetime | |
| * | WebEnabled | smallint |
| * | MaxAttemptCount | smallint |
| * | RetryAfterDays | smallint |
| * | Enabled | smallint |
| FirstInstallmentOffset | smallint | |
| * | MinItems | smallint |
| MaxItems | smallint | |
| * | AutoRenew | smallint |
| RenewToFlexContractId | int | |
| * | AutoRenewCommDays | smallint |
| * | ExpireDays | smallint |
| * | VariableAmountPayment | smallint DEFAULT 0 |
| TempUnblock | smallint | |
| TempUnblockPeriodType | smallint | |
| TempUnblockPeriod | smallint | |
| PreviewDocTemplateId | int | |
| FinalDocTemplateId | int | |
| DmgCategoryId | int | |
| AllowNotification | smallint | |
| TaxesInDownPayment | smallint | |
| RenewalSetting | smallint | |
| RenewalDate | datetime | |
| FlexPlanTemplateId | int | |
| FlexPlanOption | smallint DEFAULT 0 | |
| ChangeStartingDate | smallint DEFAULT 0 | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Description | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| TermsAndConditions | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Flex__B5734C35CB7A642C | Primary Key ON FlexContractId | |
| UQ__CNF_Flex__B5730D5724FAD211 | Unique Key ON FlexContractAK | |
| Foreign Key | ||
| FK__CNF_FlexC__Renew__7DF8932B | RenewToFlexContractId ↗ ❏ CNF_FlexContract(FlexContractId) | |
| fk_CNF_FlexContract_CNF_DmgCategory | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_FlexContract_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_FlexContract_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_FlexPlanTemplate_FlexPlanTemplateId | FlexPlanTemplateId ↗ ❏ CNF_FlexPlanTemplate | |
| Referring Foreign Key | ||
| FK_CNF_MatrixCell_FlexContractId | FlexContractId ↙ ❏ CNF_MatrixCell2FlexContract | |
| FK__DATA_Paym__FlexC__052FA09F | FlexContractId ↙ ❏ DATA_PaymentFlex | |
| FK_DATA_PaymentFlexInfo_FlexContractId | FlexContractId ↙ ❏ DATA_PaymentFlexInfo | |
| FK__CNF_FlexC__Renew__7DF8932B | FlexContractId ↙ ❏ CNF_FlexContract(RenewToFlexContractId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | FlexContractFeeId | int IDENTITY |
| * | FlexContractId | int |
| PromotionId | int | |
| IncludedInDp | smallint | |
| Refundable | smallint DEFAULT 0 | |
| FeeType | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Flex__06627D3CA75F71F0 | Primary Key ON FlexContractFeeId | |
| Foreign Key | ||
| FK_CNF_FlexContractFee_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_FlexContractFee_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | FlexPlanTemplateId | int IDENTITY |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Name | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| PaymentNumber | smallint | |
| Enabled | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| FlexPlanXML | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Flex__63D1223006115F3B | Primary Key ON FlexPlanTemplateId | |
| Foreign Key | ||
| FK_CNF_FlexPlanTemplate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_FlexPlanTemplate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fk_DATA_PaymentFlex_FlexPlanTemplateId | FlexPlanTemplateId ↙ ❏ DATA_PaymentFlex | |
| fk_CNF_FlexPlanTemplate_FlexPlanTemplateId | FlexPlanTemplateId ↙ ❏ CNF_FlexContract | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SettingId | int IDENTITY |
| * | UserName | varchar(50) COLLATE Latin1_General_CI_AS |
| * | FormName | varchar(100) COLLATE Latin1_General_CI_AS |
| SettingValue | varchar(4000) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Form__54372B1DB1DE36A2 | Primary Key ON SettingId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StartingFundId | int IDENTITY |
| * | FundTypeId | int |
| StartingFundType | smallint | |
| * | CurrencyId | int |
| Amount | float | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Fund__7362083102285E78 | Primary Key ON StartingFundId | |
| Foreign Key | ||
| FK__CNF_FundC__Curre__7EECB764 | CurrencyId ↗ ❏ CNF_Currency | |
| FK__CNF_FundC__FundT__7FE0DB9D | FundTypeId ↗ ❏ CNF_FundType | |
| FK_CNF_FundCash_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_FundCash_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | FundItemId | int IDENTITY |
| * | FundTypeId | int |
| * | Items | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Fund__667E1EE8D987BD43 | Primary Key ON FundItemId | |
| Foreign Key | ||
| FK__CNF_FundI__FundT__00D4FFD6 | FundTypeId ↗ ❏ CNF_FundType | |
| FK_CNF_FundItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_FundItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | FundTypeId | int IDENTITY |
| * | SystemId | int |
| * | FundCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| FundDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Fund__1CA29D54F7FAF61A | Primary Key ON FundTypeId | |
| Foreign Key | ||
| FK__CNF_FundT__Syste__01C9240F | SystemId ↗ ❏ CNF_System | |
| FK_CNF_FundType_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_FundType_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_FundC__FundT__7FE0DB9D | FundTypeId ↙ ❏ CNF_FundCash | |
| FK__CNF_FundI__FundT__00D4FFD6 | FundTypeId ↙ ❏ CNF_FundItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | GeoId | int IDENTITY |
| CountryISO | nvarchar(5) COLLATE Latin1_General_CI_AS | |
| Country | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| PostalCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| City | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| State | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Geo__EC445C5F46B6567E | Primary Key ON GeoId | |
| Foreign Key | ||
| FK_CNF_Geo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Geo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ImportMatchId | int IDENTITY |
| * | EntityTable | smallint |
| * | ExternalFieldName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | MatchType | smallint |
| Options | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Impo__B6AAFF5D0BABBE43 | Primary Key ON ImportMatchId | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | IncentiveTicketId | int IDENTITY |
| * | AccountId | int |
| * | MatrixCellId | int |
| * | Quantity | int |
| * | UsedQuantity | int DEFAULT 0 |
| ValidFrom | datetime | |
| ValidTo | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Ince__5C533CD9FC85FEDF | Primary Key ON IncentiveTicketId | |
| Idx_IncentiveTck_McId | Index ON MatrixCellId | |
| Foreign Key | ||
| FK__CNF_Incen__Matri__02BD4848 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_IncentiveTicket_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_IncentiveTicket_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_IncetiveTicket_Account | AccountId ↗ ❏ DATA_Account | |
| Referring Foreign Key | ||
| FK_IncentiveTicketUsage_IncentiveTicket | IncentiveTicketId ↙ ❏ DATA_IncentiveTicketUsage | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | InvoiceId | int IDENTITY |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | InvoiceAK | varchar(32) COLLATE Latin1_General_CI_AS |
| ValidityFrom | datetime | |
| ValidityTo | datetime | |
| Prefix | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Suffix | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Enabled | smallint | |
| Section | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| NumberLength | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Description | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| ConfigurationType | smallint | |
| ExternalType | smallint | |
| Indexes | ||
| PK__CNF_Invo__D796AAB5320AA91F | Primary Key ON InvoiceId | |
| UQ__CNF_Invo__D796D5A1BAC74355 | Unique Key ON InvoiceAK | |
| Foreign Key | ||
| FK_CNF_Invoice_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Invoice_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fk_CNF_Invoice_InvoiceId | InvoiceId ↙ ❏ DATA_InvoiceData | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LanguageId | int IDENTITY |
| * | LangCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | LangDescription | nvarchar(30) COLLATE Latin1_General_CI_AS |
| LangI18nCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| * | LanguageAK | varchar(32) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Lang__B93855ABB1111BC9 | Primary Key ON LanguageId | |
| UQ_CNF_Language_LangCode_LangI18nCode | Unique Key ON LangCode, LangI18nCode | |
| Foreign Key | ||
| FK_CNF_Language_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Language_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| CNF_Language_DmgData_Translate | LanguageId ↙ ❏ DATA_DmgData_Translate | |
| fk_MaskTableTrans_LangId | LanguageId ↙ ❏ CNF_MaskTableItem_Translation | |
| FK__CNF_Matri__Langu__1F5986F6 | LanguageId ↙ ❏ CNF_MatrixCellTranslation | |
| fk_DataMaskTrans_LangId | LanguageId ↙ ❏ CNF_DataMaskTranslation | |
| FK__CNF_Multi__Langu__31783731 | LanguageId ↙ ❏ CNF_MultiLanguage | |
| FK_DATA_Sale_LanguageId | LanguageId ↙ ❏ DATA_Sale | |
| FK_Data_Account_LanguageID | LanguageId ↙ ❏ DATA_Account | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LedgerAccountId | int IDENTITY |
| * | LedgerAccountAK | varchar(32) COLLATE Latin1_General_CI_AS |
| ParentAccountId | int | |
| * | AccountType | smallint |
| AccountCode | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| AccountName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| AccountReportLiteral | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| SystemAccountTable | smallint | |
| SystemAccountId | int | |
| * | InheritSystemAccountName | smallint |
| CostCenterId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| AccountNotes | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Ledg__F5DE888F259F506A | Primary Key ON LedgerAccountId | |
| Foreign Key | ||
| FK__CNF_Ledge__CostC__04A590BA | CostCenterId ↗ ❏ CNF_CostCenter | |
| FK__CNF_Ledge__Paren__0599B4F3 | ParentAccountId ↗ ❏ CNF_LedgerAccount(LedgerAccountId) | |
| FK_CNF_LedgerAccount_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_LedgerAccount_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Ledge__Paren__0599B4F3 | LedgerAccountId ↙ ❏ CNF_LedgerAccount(ParentAccountId) | |
| FK__DATA_Ledg__Ledge__689361F1 | LedgerAccountId ↙ ❏ DATA_Ledger | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LinkedPerformanceId | int IDENTITY |
| * | TemplatePerformanceId | int |
| ChildPerformanceId | int | |
| Enabled | smallint | |
| Indexes | ||
| PK__CNF_Link__1B5EC9F24EBBA426 | Primary Key ON LinkedPerformanceId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LocationId | int IDENTITY |
| SystemId | int | |
| SiteId | int | |
| * | LocationAK | varchar(32) COLLATE Latin1_General_CI_AS |
| LocationCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint |
| DmgCategoryId | int | |
| * | InVenueLimitActive | smallint DEFAULT 0 |
| InVenueLimit | int | |
| ParentLocationId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Description | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Loca__E7FEA4974DC1D3E8 | Primary Key ON LocationId | |
| UQ__CNF_Loca__E7FE676520F639C0 | Unique Key ON LocationAK | |
| Foreign Key | ||
| FK__CNF_Locat__DmgCa__0781FD65 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Locat__SiteI__0876219E | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Locat__Syste__096A45D7 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Location_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Location_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_Location_ParentLocationId | ParentLocationId ↗ ❏ CNF_Location(LocationId) | |
| Referring Foreign Key | ||
| fk_CNF_Location_ParentLocationId | LocationId ↙ ❏ CNF_Location(ParentLocationId) | |
| fkSiaeLocationLocationId | LocationId ↙ ❏ SIAE_Location | |
| FK_RR_DATA_Revenue_CNF_Location_LocationId | LocationId ↙ ❏ RR_DATA_Revenue | |
| FK_CNF_LocationMatrix_LocationId | LocationId ↙ ❏ CNF_LocationMatrix | |
| FK__CNF_Subsc__Locat__1E305893 | LocationId ↙ ❏ CNF_Subscription | |
| FK__CNF_Tax2L__Locat__2A962F78 | LocationId ↙ ❏ CNF_Tax2Location | |
| FK__ADM_Acces__Locat__609D3A6E | LocationId ↙ ❏ ADM_AccessConfiguration | |
| FK__ADM_Gate__Locati__665613C4 | LocationId ↙ ❏ ADM_Gate | |
| FK__CNF_Event__Locat__5C979F60 | LocationId ↙ ❏ CNF_Event | |
| FK__CNF_Proje__Locat__52D92AFC | LocationId ↙ ❏ CNF_Projection | |
| FK_CNF_LocationRoute_LocationId | LocationId ↙ ❏ CNF_LocationRoute | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LocationMatrixId | int IDENTITY |
| * | LocationMatrixAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | LocationMatrixType | smallint |
| * | Code | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Description | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| * | LocationId | int |
| * | Enabled | smallint |
| SortOrder | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ParentLocationMatrixId | int | |
| * | DeductionType | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Loca__41FC1017BB005066 | Primary Key ON LocationMatrixId | |
| UQ__CNF_Loca__41FCD0D13B071DEC | Unique Key ON LocationMatrixAK | |
| IDX_CNF_LocationMatrix_LocationId | Index ON LocationId | |
| Foreign Key | ||
| FK__CNF_Locat__Paren__6756BBA3 | ParentLocationMatrixId ↗ ❏ CNF_LocationMatrix(LocationMatrixId) | |
| FK_CNF_LocationMatrix_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_LocationMatrix_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_LocationMatrix_LocationId | LocationId ↗ ❏ CNF_Location | |
| Referring Foreign Key | ||
| FK__CNF_Locat__Paren__6756BBA3 | LocationMatrixId ↙ ❏ CNF_LocationMatrix(ParentLocationMatrixId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LocMatrix2MatrixCellId | int IDENTITY |
| * | MatrixCellId | int |
| * | Last_UserId_Log | int |
| * | Last_WorkstationId_Log | int |
| * | LocationMatrixId | int |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Loca__BA6E8C33CBFCFDBD | Primary Key ON LocMatrix2MatrixCellId | |
| Idx_LocMatrix2Attr_LocId_AttrId | Index ON LocationMatrixId | |
| Foreign Key | ||
| FK__CNF_Locat__Matri__693F0415 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LocationMatrixPriceId | int IDENTITY |
| * | LocationMatrixId | int |
| * | FromGateId | int |
| * | ToGateId | int |
| AmountIn | float | |
| AmountOut | float | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Loca__7C0E6ECE26B3BA42 | Primary Key ON LocationMatrixPriceId | |
| IDX_CNF_LocationMatrixPrice_LocationMatrixId | Index ON LocationMatrixId | |
| IDX_CNF_LocationMatrixPrice_FromGateId | Index ON FromGateId | |
| IDX_CNF_LocationMatrixPrice_ToGateId | Index ON ToGateId | |
| Foreign Key | ||
| FK_CNF_LocationMatrixPrice_FromGateId | FromGateId ↗ ❏ ADM_Gate(GateId) | |
| FK_CNF_LocationMatrixPrice_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_LocationMatrixPrice_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_LocationMatrixPrice_ToGateId | ToGateId ↗ ❏ ADM_Gate(GateId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LocationRouteId | int IDENTITY |
| LocationId | int | |
| Name | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| * | LocationRouteAK | varchar(32) COLLATE Latin1_General_CI_AS |
| LocationRouteDescription | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| CompleteStageRoute | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Loca__D6D6B29625E10CB2 | Primary Key ON LocationRouteId | |
| Foreign Key | ||
| FK_CNF_LocationRoute_LocationId | LocationId ↗ ❏ CNF_Location | |
| Referring Foreign Key | ||
| FK_CNF_LocationRoute2Gate_LocationRouteId | LocationRouteId ↙ ❏ CNF_LocationRoute2Gate | |
| FK_CNF_Event_LocationRouteId | LocationRouteId ↙ ❏ CNF_Event | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LocationRoute2GateId | int IDENTITY |
| LocationRouteId | int | |
| GateId | int | |
| GateOrder | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Loca__4A11AF08B37C0EE6 | Primary Key ON LocationRoute2GateId | |
| Foreign Key | ||
| FK_CNF_LocationRoute2Gate_GateId | GateId ↗ ❏ ADM_Gate | |
| FK_CNF_LocationRoute2Gate_LocationRouteId | LocationRouteId ↗ ❏ CNF_LocationRoute | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | LookUpId | int IDENTITY |
| * | LookUpTableId | int |
| * | ItemId | int |
| LookUpCode | varchar(32) COLLATE Latin1_General_CI_AS | |
| * | Description | nvarchar(80) COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__CNF_Look__D9A336D5CA1F3A48 | Primary Key ON LookUpId | |
| Idx1 | Unique Index ON LookUpTableId, ItemId | |
| Foreign Key | ||
| FK__CNF_LookU__LookU__0A5E6A10 | LookUpTableId ↗ ❏ CNF_LookUpTable | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LookUpTableId | int |
| * | LookUpName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| LookUpDescription | ntext COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Look__3AE496F5ACF00E67 | Primary Key ON LookUpTableId | |
| Referring Foreign Key | ||
| FK__CNF_LookU__LookU__0A5E6A10 | LookUpTableId ↙ ❏ CNF_LookUp | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MaskId | int IDENTITY |
| * | MaskAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | MaskName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | SystemId | int |
| * | SystemMask | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| FileManager | smallint | |
| Indexes | ||
| PK__CNF_Mask__9F109F8F66AB9BB1 | Primary Key ON MaskId | |
| UQ__CNF_Mask__9F2F5C9DDC1ECB6F | Unique Key ON MaskAK | |
| Foreign Key | ||
| FK__CNF_Mask__System__0D3AD6BB | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Mask_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Mask_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Mask___MaskI__0E2EFAF4 | MaskId ↙ ❏ CNF_Mask_Utility | |
| FK_DATA_DmgDataDetails_MaskId | MaskId ↙ ❏ DATA_DmgDataDetails | |
| FK__CNF_DataM__MaskI__2082B559 | MaskId ↙ ❏ CNF_DataMask | |
| FK_CNF_DataMask_MaskIdDetail | MaskId ↙ ❏ CNF_DataMask(MaskIdDetail) | |
| FK__CNF_DmgCa__MaskI__30B91D22 | MaskId ↙ ❏ CNF_DmgCategory2Mask | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MaskTableId | int IDENTITY |
| * | MaskTableName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Private | smallint |
| * | Enabled | smallint |
| * | MaskTableCode | varchar(32) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Mask__58F064F760A5C543 | Primary Key ON MaskTableId | |
| Foreign Key | ||
| FK_CNF_MaskTable_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MaskTable_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_MaskT__MaskT__10174366 | MaskTableId ↙ ❏ CNF_MaskTableItem | |
| FK__CNF_DataM__MaskT__2176D992 | MaskTableId ↙ ❏ CNF_DataMask | |
| FK_CNF_DeliveryAdditionalFIlter_MaskTableId | MaskTableId ↙ ❏ CNF_DeliveryAdditionalFilter | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MaskTableItemId | int IDENTITY |
| MasterFieldId | int | |
| * | MaskTableId | int |
| * | ItemCode | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | ItemDescription | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| AttributeId | int | |
| * | PriorityOrder | smallint |
| ItemCodeAdditional | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | InternalId | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Mask__30F9DAD39A50A90B | Primary Key ON MaskTableItemId | |
| UQ_MaskTableItem_Code | Unique Index ON MaskTableId, ItemCode | |
| UQ_MaskTableItem_InternalId | Unique Index ON MaskTableId, InternalId | |
| IDX_CNF_MaskTableItem_ItemDescription | Index ON ItemDescription | |
| Foreign Key | ||
| FK__CNF_MaskT__Attri__0F231F2D | AttributeId ↗ ❏ CNF_Attribute | |
| FK__CNF_MaskT__MaskT__10174366 | MaskTableId ↗ ❏ CNF_MaskTable | |
| FK__CNF_MaskT__Maste__110B679F | MasterFieldId ↗ ❏ CNF_MaskTableItem(MaskTableItemId) | |
| FK_CNF_MaskTableItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MaskTableItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_MaskT__Maste__110B679F | MaskTableItemId ↙ ❏ CNF_MaskTableItem(MasterFieldId) | |
| fk_MaskTableTrans_MaskId | MaskTableItemId ↙ ❏ CNF_MaskTableItem_Translation | |
| FK_CNF_DeliveryAdditionalFilter2MaskTableItem_MasktableItemId | MaskTableItemId ↙ ❏ CNF_DeliveryAdditionalFilter2MaskTableItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MaskTableTranslationId | int IDENTITY |
| * | MaskTableItemId | int |
| * | LanguageId | int |
| Translation | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| SortOrder | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Mask__16665EE876BF6EEC | Primary Key ON MaskTableTranslationId | |
| Idx_MaskTable_Translate | Unique Index ON MaskTableItemId, LanguageId | |
| Foreign Key | ||
| FK_CNF_MaskTableItem_Translation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MaskTableItem_Translation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_MaskTableTrans_LangId | LanguageId ↗ ❏ CNF_Language | |
| fk_MaskTableTrans_MaskId | MaskTableItemId ↗ ❏ CNF_MaskTableItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MaskUtilityId | int IDENTITY |
| * | MaskId | int |
| * | UtilityAK | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Params | nvarchar(500) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Mask__C2D854DD9918FFC4 | Primary Key ON MaskUtilityId | |
| Foreign Key | ||
| FK__CNF_Mask___MaskI__0E2EFAF4 | MaskId ↗ ❏ CNF_Mask | |
| FK_CNF_Mask_Utility_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Mask_Utility_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCellId | int IDENTITY |
| * | MatrixSheetId | int |
| * | PriceListId | int |
| * | PriceTableId | int |
| * | AttributeSetId | int |
| Price | float | |
| TaxPackageId | int | |
| TaxType | smallint | |
| * | Enabled | smallint |
| * | PriceType | smallint DEFAULT 0 |
| * | UseConfEntitlements | smallint DEFAULT 0 |
| * | Sold | smallint DEFAULT 0 |
| * | RenewType | smallint DEFAULT 0 |
| ForceSingleAccount | smallint | |
| AdditionalCode | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| ExtendedInfoTicketType | smallint | |
| AdditionalDescription | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | CreationDate | datetime |
| * | LastUpdDate | datetime |
| * | UpgradeType | smallint DEFAULT 0 |
| PriorityOrder | int | |
| ReceiptTemplateId | int | |
| * | Code | nvarchar(32) COLLATE Latin1_General_CI_AS DEFAULT 'None' |
| * | Name | nvarchar(60) COLLATE Latin1_General_CI_AS DEFAULT 'None' |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Description2 | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| PrintedPrice | float | |
| DownPayment | float | |
| DocTemplateId | int | |
| * | Membership | smallint DEFAULT 0 |
| MinVariablePrice | float | |
| MaxVariablePrice | float | |
| SaleableState | int | |
| * | MatrixCellAk | nvarchar(32) COLLATE Latin1_General_CI_AS |
| DmgCategoryId | int | |
| PdfTemplateId | int | |
| ACReceiptTemplateId | int | |
| ChangeAccountNotAllowed | smallint | |
| MobileTemplateId | int | |
| ShareableEntitlements | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| WalletId | int | |
| ForceUseExistingAccount | smallint | |
| SinglePDF | smallint | |
| Indexes | ||
| PK__CNF_Matr__2E3986A591F15565 | Primary Key ON MatrixCellId | |
| IDX_CNF_MatrixCell_AttributeSetId | Index ON AttributeSetId | |
| IDX_CNF_MatrixCell_MatrixSheetId | Index ON MatrixSheetId | |
| Idx_MatrixCell_SiaeAbb | Index ON AdditionalCode, MatrixCellId | |
| Idx_MatrixCell_MsId_PLId_Enabled | Index ON MatrixSheetId, Enabled | |
| Idx_MatrixCell_MCAK | Index ON MatrixCellAk | |
| Idx_CNF_MatrixCell_MatrixSheetId_Enabled | Index ON MatrixSheetId, Enabled | |
| Foreign Key | ||
| FK__CNF_Matri__Attri__13E7D44A | AttributeSetId ↗ ❏ CNF_AttributeSet | |
| FK__CNF_Matri__DmgCa__3D09E56E | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Matri__DocTe__14DBF883 | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK__CNF_Matri__Matri__15D01CBC | MatrixSheetId ↗ ❏ CNF_MatrixSheet | |
| FK__CNF_Matri__Price__16C440F5 | PriceTableId ↗ ❏ CNF_PriceTable | |
| FK__CNF_Matri__Price__17B8652E | PriceListId ↗ ❏ CNF_PriceList | |
| FK__CNF_Matri__TaxPa__18AC8967 | TaxPackageId ↗ ❏ CNF_TaxPackage | |
| FK__CNF_Matri__Walle__2BA1C44F | WalletId ↗ ❏ CNF_DocTemplate(DocTemplateId) | |
| FK__CNF_Matri__Walle__64DA41AB | WalletId ↗ ❏ CNF_DocTemplate(DocTemplateId) | |
| FK_CNF_MatrixCell_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCell_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__Matri__025E20EC | MatrixCellId ↙ ❏ CNF_MatrixCellPermission | |
| FK_CNF_MatrixCell2Donation_MatrixCellId | MatrixCellId ↙ ❏ CNF_MatrixCell2Donation | |
| DATA_TransactionItemCombo_MatrixCell | MatrixCellId ↙ ❏ DATA_TransactionItem_Combo | |
| FK__CNF_Incen__Matri__02BD4848 | MatrixCellId ↙ ❏ CNF_IncentiveTicket | |
| FK_CNF_MatrixCell_MatrixCellId | MatrixCellId ↙ ❏ CNF_MatrixCell2FlexContract | |
| FK_DATA_Product_MatrixCellId | MatrixCellId ↙ ❏ DATA_Product | |
| FK_CNF_ProductLinker_MatrixCellId | MatrixCellId ↙ ❏ CNF_ProductLinker | |
| FK__DATA_Vouc__Matri__07D70320 | MatrixCellId ↙ ❏ DATA_VoucherItem | |
| FK_DATA_RenewalPlanDetails_OriginalMatrixCellId | MatrixCellId ↙ ❏ DATA_RenewalPlanDetails(OriginalMatrixCellId) | |
| FK_DATA_RenewalPlanDetails_RenewalMatrixCellId | MatrixCellId ↙ ❏ DATA_RenewalPlanDetails(RenewalMatrixCellId) | |
| FK_RR_DATA_Revenue_CNF_MatrixCell_MatrixCellId | MatrixCellId ↙ ❏ RR_DATA_Revenue | |
| FK_CNF_MatrixCell_Renew_MatrixCellId | MatrixCellId ↙ ❏ CNF_MatrixCell_Renew | |
| FK_CNF_MatrixCell_Renew_RenewMatrixCellId | MatrixCellId ↙ ❏ CNF_MatrixCell_Renew | |
| FK__CNF_CostC__Matri__1AC9DC03 | MatrixCellId ↙ ❏ CNF_CostCenter_Validity | |
| FK_CNF_MatrixCell_QuickUpgrade_MatrixCellId | MatrixCellId ↙ ❏ CNF_MatrixCell_QuickUpgrade | |
| FK_CNF_MatrixCell_QuickUpgrade_QuickUpgradeMatrixCellId | MatrixCellId ↙ ❏ CNF_MatrixCell_QuickUpgrade(QuickUpgradeMatrixCellId) | |
| FK_RR_CNF_Product_CNF_MatrixCell_MatrixCellId | MatrixCellId ↙ ❏ RR_CNF_Product | |
| FK__CNF_Matri__Matri__1D713E84 | MatrixCellId ↙ ❏ CNF_MatrixCellInfo | |
| FK_CNF_MatrixCellInfo_TransferPerfMatrixCellId | MatrixCellId ↙ ❏ CNF_MatrixCellInfo(TransferPerfMatrixCellId) | |
| FK_STAT_Product_MatrixCellId | MatrixCellId ↙ ❏ STAT_Product | |
| FK__DATA_Medi__Matri__7405149D | MatrixCellId ↙ ❏ DATA_MediaStoredValue | |
| FK__CNF_Matri__Matri__204DAB2F | MatrixCellId ↙ ❏ CNF_MatrixCellTranslation | |
| Relationship1220 | MatrixCellId ↙ ❏ STOCK_CNF_Product | |
| FK__CNF_Stati__Matri__196BA376 | MatrixCellId ↙ ❏ CNF_StatisticalGroupValidity | |
| FK_StockProductCombo_Child | MatrixCellId ↙ ❏ STOCK_CNF_ProductCombo(ChildMatrixCellId) | |
| FK_STAT_Admission_MatrixCellId | MatrixCellId ↙ ❏ STAT_Admission | |
| FK_StockProductComboChoice_MatrixCell | MatrixCellId ↙ ❏ STOCK_CNF_ProductComboChoice | |
| Relationship1235 | MatrixCellId ↙ ❏ STOCK_Movement | |
| FKCnf_pay_MatrixCellId | MatrixCellId ↙ ❏ CNF_PAY | |
| FK_CNF_PayMatrixCell_CNF_MatrixCell | MatrixCellId ↙ ❏ CNF_Pay_MatrixCell | |
| fk_CNF_ShopCartValidationItem2MatrixCell_MatrixCellId | MatrixCellId ↙ ❏ CNF_ShopCartValidationItem2MatrixCell | |
| FK_CNF_MatrixCellDocument_MatrixCellId | MatrixCellId ↙ ❏ CNF_MatrixCellDocument | |
| FK__DATA_Sale__Matri__20D7BB14 | MatrixCellId ↙ ❏ DATA_SaleItem | |
| fk_DATA_SaleItem_OrigMatrixCellId | MatrixCellId ↙ ❏ DATA_SaleItem(OrigMatrixCellId) | |
| DATA_SaleItemCombo_MatrixCell | MatrixCellId ↙ ❏ DATA_SaleItem_Combo | |
| CNF_MatrixCell_CNF_RES_MatrixCell | MatrixCellId ↙ ❏ RES_CNF_MatrixCell | |
| FK__CNF_Matri__Matri__59B11114 | MatrixCellId ↙ ❏ CNF_MatrixCell2Delivery | |
| FK__CNF_Locat__Matri__693F0415 | MatrixCellId ↙ ❏ CNF_LocationMatrix2MatrixCell | |
| FK__CNF_Deliv__Matri__43C1CFF5 | MatrixCellId ↙ ❏ CNF_Delivery | |
| CNF_AlternativeCodes_fkCNF_MatrixCell | MatrixCellId ↙ ❏ CNF_AlternativeCodes | |
| FK__CNF_Exter__Matri__76577163 | MatrixCellId ↙ ❏ CNF_ExternalCardType | |
| FK__DATA_Tick__Matri__4F92A9FD | MatrixCellId ↙ ❏ DATA_Ticket | |
| CNF_ExtTckRange_MatrixCellId | MatrixCellId ↙ ❏ CNF_ExternalTicketRange | |
| fk_CNF_SuggestiveSell2MatrixCell_MatrixCellId | MatrixCellId ↙ ❏ CNF_SuggestiveSell2MatrixCell | |
| fkPromotionItemRule_MatrixCell | MatrixCellId ↙ ❏ CNF_PromotionItemRule | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCell2CurrencyId | int IDENTITY |
| * | MatrixCellId | int |
| * | CurrencyId | int |
| Price | float | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__C47E243EF9B4C7D4 | Primary Key ON MatrixCell2CurrencyId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCell2DeliveryId | int IDENTITY |
| * | MatrixCellId | int |
| * | DeliveryId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__A8E105D413447BF4 | Primary Key ON MatrixCell2DeliveryId | |
| Foreign Key | ||
| FK__CNF_Matri__Deliv__58BCECDB | DeliveryId ↗ ❏ CNF_Delivery | |
| FK__CNF_Matri__Matri__59B11114 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_MatrixCell2Delivery_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCell2Delivery_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCell2DonationId | int IDENTITY |
| * | MatrixCellId | int |
| * | DonationId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__F2682637BBC27C7F | Primary Key ON MatrixCell2DonationId | |
| Foreign Key | ||
| FK_CNF_MatrixCell2Donation_DonationId | DonationId ↗ ❏ CNF_Donation | |
| FK_CNF_MatrixCell2Donation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCell2Donation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_MatrixCell2Donation_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCell2FlexContractId | int IDENTITY |
| * | MatrixCellId | int |
| * | FlexContractId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__772D2070E8CF7244 | Primary Key ON MatrixCell2FlexContractId | |
| Idx_MatrixCellFlexContract | Unique Index ON MatrixCellId, FlexContractId | |
| Foreign Key | ||
| FK_CNF_MatrixCell_FlexContractId | FlexContractId ↗ ❏ CNF_FlexContract | |
| FK_CNF_MatrixCell_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_MatrixCell2FlexContract_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCell2FlexContract_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCellDocumentId | int IDENTITY |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Name | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| QuestionsList | ntext COLLATE Latin1_General_CI_AS | |
| Enabled | smallint | |
| Mandatory | smallint | |
| Signature | smallint | |
| MatrixCellId | int | |
| DocTemplateId | int | |
| Indexes | ||
| PK__CNF_Matr__4BDF3B14A7FC9C93 | Primary Key ON MatrixCellDocumentId | |
| Foreign Key | ||
| FK_CNF_MatrixCellDocument_DocTemplateId | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK_CNF_MatrixCellDocument_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCellInfoId | int IDENTITY |
| * | MatrixCellId | int |
| * | NeedApproval | smallint DEFAULT 0 |
| * | TransReceiptNotRequired | smallint DEFAULT 0 |
| * | IgnoreEncodedValidity | smallint DEFAULT 0 |
| * | IgnoreAttributeValidity | smallint DEFAULT 0 |
| * | BackGroundColor | nvarchar(10) COLLATE Latin1_General_CI_AS DEFAULT 'DEFAULT' |
| QuickUpgradeIds | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| * | QuickUpgradeOnly | smallint |
| * | ForceReservation | smallint DEFAULT 0 |
| * | AccountMandatory | smallint |
| AccountDmgCatId | int | |
| * | ExtendedInfoMandatory | smallint |
| ExtInfoDmgCatId | int | |
| * | NotRefundable | smallint |
| SurveyId | int | |
| * | ExtInfoApplyAll | smallint DEFAULT 0 |
| QuickRenewIds | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| * | QuickRenewOnly | smallint DEFAULT 0 |
| ActivatePromotionIDs | nvarchar(1000) COLLATE Latin1_General_CI_AS | |
| * | DenyReprint | smallint DEFAULT 0 |
| * | DenyReissue | smallint DEFAULT 0 |
| * | SiaeVenditaContoTerzi | smallint |
| SiaeVenditaContoTerziDesc | nvarchar(40) COLLATE Latin1_General_CI_AS | |
| MaskFieldEditLevel | smallint | |
| MaskFieldVisibleLevel | smallint | |
| MaskFieldRequiredLevel | smallint | |
| MaskFieldEditLevelOverride | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| MaskFieldVisibleLevelOverride | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| MaskFieldRequiredLevelOverride | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| ProducerId | int | |
| UpgradePeriodEnabled | smallint DEFAULT 0 | |
| UpgradePeriodType | smallint DEFAULT 0 | |
| UpgradePeriodByDateFrom | datetime | |
| UpgradePeriodByDateTo | datetime | |
| UpgradePeriodByNumberDays | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ExtInfoDocTemplateId | int | |
| Points | int | |
| IsThirdPartyItem | smallint | |
| ThirdPartyItemThreshold | smallint | |
| SaleThreshold | smallint | |
| SaleThresholdOffset | smallint | |
| DuplicateTicketOnVoid | smallint | |
| UpgradeRemoveUsage | smallint | |
| TransferPerfMatrixCellId | int | |
| * | ShowExtInfoBefAddBask | int DEFAULT 0 |
| UpgradePeriodByPerformance | smallint | |
| CalendarId | smallint | |
| ChangePerfPeriodEnabled | smallint DEFAULT 0 | |
| ChangePerfPeriodType | smallint DEFAULT 0 | |
| ChangePerfPeriodByDateFrom | datetime | |
| ChangePerfPeriodByDateTo | datetime | |
| ChangePerfPeriodByHours | smallint | |
| ChangePerfByNumbersEnabled | smallint DEFAULT 0 | |
| ChangePerfByNumbers | smallint | |
| Indexes | ||
| PK__CNF_Matr__B021C4AA849B0387 | Primary Key ON MatrixCellInfoId | |
| UQ__CNF_Matr__2E3986A4E1067129 | Unique Key ON MatrixCellId | |
| Foreign Key | ||
| FK__CNF_Matri__Accou__1B88F612 | AccountDmgCatId ↗ ❏ CNF_DmgCategory(DmgCategoryId) | |
| FK__CNF_Matri__ExtIn__1C7D1A4B | ExtInfoDmgCatId ↗ ❏ CNF_DmgCategory(DmgCategoryId) | |
| FK__CNF_Matri__Matri__1D713E84 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__CNF_Matri__Surve__1E6562BD | SurveyId ↗ ❏ CNF_Survey | |
| FK_CNF_MatrixCellInfo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCellInfo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_MatrixCellInfo_SIAE_Producer_ProducerId | ProducerId ↗ ❏ SIAE_Producer | |
| FK_CNF_MatrixCellInfo_TransferPerfMatrixCellId | TransferPerfMatrixCellId ↗ ❏ CNF_MatrixCell(MatrixCellId) | |
| FK_ExtInfoDocTemplateId | ExtInfoDocTemplateId ↗ ❏ CNF_DocTemplate(DocTemplateId) | |
| Triggers | ||
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:26 Script Version: 1 ******/ create view [dbo].[CNF_MatrixCellOption] as( select MC.MatrixCellId, 5 as OptionType, MC.Code as OptionValue from CNF_MatrixCell as MC union select MC.MatrixCellId, 6 as OptionType, MC.Name as OptionValue from CNF_MatrixCell as MC union select MC.MatrixCellId, 7 as OptionType, MC.Description as OptionValue from CNF_MatrixCell as MC ) | ||
| Idx | Column Name | Data Type |
| MatrixCellId | int | |
| OptionType | int | |
| OptionValue | nvarchar(200) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCellPermissionId | int IDENTITY |
| * | MatrixCellId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| DmgCategoryId | int | |
| AccountId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__9162B3443BE47B5B | Primary Key ON MatrixCellPermissionId | |
| Foreign Key | ||
| FK__CNF_Matri__Accou__090B1E7B | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Matri__DmgCa__0816FA42 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Matri__Matri__025E20EC | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__CNF_Matri__Opera__0446695E | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Matri__SiteI__03524525 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Matri__UserG__062EB1D0 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Matri__UserI__0722D609 | UserId ↗ ❏ CNF_User | |
| FK__CNF_Matri__Works__053A8D97 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_MatrixCellPermission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCellPermission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCellTranslationId | int IDENTITY |
| * | LanguageId | int |
| * | MatrixCellId | int |
| ShortName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| LongName | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| ShortDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| LongDescription | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__E03C59D6E74362E5 | Primary Key ON MatrixCellTranslationId | |
| uc_CNF_MatrixCellTranslation_MatrixCellId_LanguageId | Unique Key ON MatrixCellId, LanguageId | |
| Foreign Key | ||
| FK__CNF_Matri__Langu__1F5986F6 | LanguageId ↗ ❏ CNF_Language | |
| FK__CNF_Matri__Matri__204DAB2F | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_MatrixCellTranslation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCellTranslation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | QuickUpgradeId | int IDENTITY |
| * | MatrixCellId | int |
| * | QuickUpgradeMatrixCellId | int |
| * | NoChargeUpgrade | smallint DEFAULT 0 |
| UpgradeValue | float | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__341A592718789F98 | Primary Key ON QuickUpgradeId | |
| IDX_CNF_MatrixCell_QuickUpgrade_MatrixCellId | Index ON MatrixCellId | |
| IDX_CNF_MatrixCell_QuickUpgrade_QuickUpgradeMatrixCellId | Index ON QuickUpgradeMatrixCellId | |
| Foreign Key | ||
| FK_CNF_MatrixCell_QuickUpgrade_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCell_QuickUpgrade_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_MatrixCell_QuickUpgrade_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_MatrixCell_QuickUpgrade_QuickUpgradeMatrixCellId | QuickUpgradeMatrixCellId ↗ ❏ CNF_MatrixCell(MatrixCellId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RenewId | int IDENTITY |
| * | MatrixCellId | int |
| * | RenewMatrixCellId | int |
| FlexAutoRenew | smallint DEFAULT 0 | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| RenewType | smallint | |
| RenewDayLimit | int | |
| RenewAgeLimitMin | int | |
| RenewAgeLimitMax | int | |
| Indexes | ||
| PK__CNF_Matr__974EEB53FA862579 | Primary Key ON RenewId | |
| idx_Renew_McId | Index ON MatrixCellId | |
| Foreign Key | ||
| FK_CNF_MatrixCell_Renew_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixCell_Renew_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_MatrixCell_Renew_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_MatrixCell_Renew_RenewMatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixDimensionId | int IDENTITY |
| * | MatrixSheetId | int |
| PriceTableId | int | |
| PriceListId | int | |
| AttributeId | int | |
| * | PriorityOrder | smallint |
| * | DimensionKind | smallint |
| Size | smallint | |
| FilterItemId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__2F2A1647C92EF0DC | Primary Key ON MatrixDimensionId | |
| IDX_MatrixDimension | Unique Index ON MatrixSheetId, PriceTableId, PriceListId, AttributeId | |
| Idx_MatrixDimension_PTId | Index ON PriceTableId | |
| Foreign Key | ||
| FK__CNF_Matri__Attri__2141CF68 | AttributeId ↗ ❏ CNF_Attribute | |
| FK__CNF_Matri__Matri__2235F3A1 | MatrixSheetId ↗ ❏ CNF_MatrixSheet | |
| FK__CNF_Matri__Price__232A17DA | PriceTableId ↗ ❏ CNF_PriceTable | |
| FK__CNF_Matri__Price__241E3C13 | PriceListId ↗ ❏ CNF_PriceList | |
| FK_CNF_MatrixDimension_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixDimension_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixSheetId | int IDENTITY |
| * | EventId | int |
| * | MatrixSheetName | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | ProductType | smallint |
| Color | varchar(7) COLLATE Latin1_General_CI_AS | |
| * | Position | smallint |
| * | Enabled | smallint DEFAULT 1 |
| * | FlatSheet | smallint |
| SortOrder | int | |
| * | MatrixSheetType | smallint |
| Code | nvarchar(128) COLLATE Latin1_General_CI_AS | |
| IsSeasonal | smallint | |
| * | MatrixSheetAK | nvarchar(38) COLLATE Latin1_General_CI_AS DEFAULT newid() |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| IntegrationType | smallint | |
| Indexes | ||
| PK__CNF_Matr__2BECAB2698F9122E | Primary Key ON MatrixSheetId | |
| IDX_CNF_MatrixSheet_Code | Index ON Code | |
| IDX_CNF_MatrixSheet_EventId | Index ON EventId | |
| Foreign Key | ||
| FK__CNF_Matri__Event__2512604C | EventId ↗ ❏ CNF_Event | |
| FK_CNF_MatrixSheet_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixSheet_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_CNF_ProductLinker_MatrixSheetId | MatrixSheetId ↙ ❏ CNF_ProductLinker | |
| FK__CNF_Matri__Matri__15D01CBC | MatrixSheetId ↙ ❏ CNF_MatrixCell | |
| FK_RR_CNF_Product_CNF_MatrixSheet_MatrixSheetId | MatrixSheetId ↙ ❏ RR_CNF_Product | |
| FK__CNF_Matri__Matri__2235F3A1 | MatrixSheetId ↙ ❏ CNF_MatrixDimension | |
| FK__CNF_Matri__Matri__27EECCF7 | MatrixSheetId ↙ ❏ CNF_MatrixSheet_SaleValidity | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixSheetSaleValidityId | int IDENTITY |
| * | MatrixSheetId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| DmgCategoryId | int | |
| AccountId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Matr__11A00E32F701FAD9 | Primary Key ON MatrixSheetSaleValidityId | |
| Foreign Key | ||
| FK__CNF_Matri__Accou__26068485 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Matri__DmgCa__26FAA8BE | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Matri__Matri__27EECCF7 | MatrixSheetId ↗ ❏ CNF_MatrixSheet | |
| FK__CNF_Matri__Opera__28E2F130 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Matri__SiteI__29D71569 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Matri__UserG__2ACB39A2 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Matri__UserI__2BBF5DDB | UserId ↗ ❏ CNF_User | |
| FK__CNF_Matri__Works__2CB38214 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_MatrixSheet_SaleValidity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MatrixSheet_SaleValidity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MSCardId | int IDENTITY |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Memb__99ACD4E33A0A8E1D | Primary Key ON MSCardId | |
| Foreign Key | ||
| FK_CNF_MembershipCard_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MembershipCard_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MerchantId | int IDENTITY |
| * | MerchantAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | MerchantNumber | nvarchar(30) COLLATE Latin1_General_CI_AS |
| MerchantName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| MerchantCity | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| MerchantZip | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| MerchantCategory | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| MerchantState | nvarchar(2) COLLATE Latin1_General_CI_AS | |
| * | MerchantType | smallint |
| TerminalId | int | |
| * | Enabled | smallint DEFAULT 1 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Merc__0441654393CE1886 | Primary Key ON MerchantId | |
| UQ__CNF_Merc__04412463218F7598 | Unique Key ON MerchantAK | |
| Foreign Key | ||
| FK_CNF_Merchant_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Merchant_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Merch__Merch__2DA7A64D | MerchantId ↙ ❏ CNF_MerchantTable | |
| FK__DATA_Paym__Merch__7D8E7ED7 | MerchantId ↙ ❏ DATA_PaymentCard | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MerchantTableId | int IDENTITY |
| * | MerchantId | int |
| PaymentCardId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| * | PaymentProcessorType | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Merc__0304AB03C86CF410 | Primary Key ON MerchantTableId | |
| Foreign Key | ||
| FK__CNF_Merch__Merch__2DA7A64D | MerchantId ↗ ❏ CNF_Merchant | |
| FK__CNF_Merch__Opera__2E9BCA86 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Merch__Payme__2F8FEEBF | PaymentCardId ↗ ❏ CNF_PaymentCard | |
| FK__CNF_Merch__Works__308412F8 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_MerchantTable_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MerchantTable_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MultiLanguageId | int IDENTITY |
| * | FormName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| ComponentName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | PropertyName | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | LanguageId | int |
| Translation | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Mult__7A96ACDE59319DFE | Primary Key ON MultiLanguageId | |
| IDX_FORMNAME_LANGID | Index ON FormName, LanguageId | |
| Foreign Key | ||
| FK__CNF_Multi__Langu__31783731 | LanguageId ↗ ❏ CNF_Language | |
| FK_CNF_MultiLanguage_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_MultiLanguage_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | NotificationId | int IDENTITY |
| * | DocTemplateId | int |
| EntityTable | int | |
| EntityId | int | |
| TimeType | smallint | |
| TimeValue | float | |
| * | Enabled | smallint DEFAULT 0 |
| * | NotificationType | smallint DEFAULT 1 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Noti__20CF2E12D55A2B53 | Primary Key ON NotificationId | |
| Foreign Key | ||
| FK_CNF_Notification_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Notification_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_CNF_NotificationDATA_Notification2Entity | NotificationId ↙ ❏ DATA_Notification2Entity | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | OperatingAreaId | int IDENTITY |
| * | SystemId | int |
| * | SiteId | int |
| * | OperatingAreaAK | varchar(32) COLLATE Latin1_General_CI_AS |
| AreaCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| OpAreaName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| DefaultLevel | smallint | |
| * | Enabled | smallint |
| DmgCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Oper__E03F26EB3D5CBE4A | Primary Key ON OperatingAreaId | |
| UQ__CNF_Oper__E038E7FB7B1267E8 | Unique Key ON OperatingAreaAK | |
| Foreign Key | ||
| FK__CNF_Opera__SiteI__326C5B6A | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Opera__Syste__33607FA3 | SystemId ↗ ❏ CNF_System | |
| fk_CNF_OpArea_CNF_DmgCategory | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_OperatingArea_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_OperatingArea_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__Opera__0446695E | OperatingAreaId ↙ ❏ CNF_MatrixCellPermission | |
| FK_Donation_Permission_OperatingAreaId | OperatingAreaId ↙ ❏ CNF_Donation_Permission | |
| FK_Trigger_Permission_OperatingAreaId | OperatingAreaId ↙ ❏ CNF_Trigger_Permission | |
| fk_CNF_ShopCartValidation_Permission_OperatingAreaId | OperatingAreaId ↙ ❏ CNF_ShopCartValidation_Permission | |
| FK__CNF_SeatC__Opera__7AE71C56 | OperatingAreaId ↙ ❏ CNF_SeatCategory_Permission | |
| FK_RR_DATA_Revenue_CNF_OperatingArea_OperatingAreaId | OperatingAreaId ↙ ❏ RR_DATA_Revenue | |
| FK_CNF_Performance_SaleValidity_OperatingAreaId | OperatingAreaId ↙ ❏ CNF_Performance_SaleValidity | |
| FK__CNF_Perfo__Opera__2C545AB8 | OperatingAreaId ↙ ❏ CNF_Performance_Permission | |
| FK__CNF_Site___Opera__0D05CC91 | OperatingAreaId ↙ ❏ CNF_Site_LoginPermission | |
| FK__CNF_Deliv__Opera__2F1BB8CA | OperatingAreaId ↙ ❏ CNF_Delivery_Permission | |
| FK_STAT_Product_OperatingAreaId | OperatingAreaId ↙ ❏ STAT_Product | |
| FK_CNF_TicketPackageGroupPermission_OperatingAreaId | OperatingAreaId ↙ ❏ CNF_TicketPackageGroupPermission | |
| FK_STAT_CostCenter_OperatingAreaId | OperatingAreaId ↙ ❏ STAT_CostCenter | |
| FK_STAT_StatisticalGroup_OperatingAreaId | OperatingAreaId ↙ ❏ STAT_StatisticalGroup | |
| FK_STAT_CreditCard_OperatingAreaId | OperatingAreaId ↙ ❏ STAT_CreditCard | |
| FK_STAT_Payment_OperatingAreaId | OperatingAreaId ↙ ❏ STAT_Payment | |
| FK_STAT_Admission_OperatingAreaId | OperatingAreaId ↙ ❏ STAT_Admission | |
| FK__CNF_Matri__Opera__28E2F130 | OperatingAreaId ↙ ❏ CNF_MatrixSheet_SaleValidity | |
| FK__CNF_Merch__Opera__2E9BCA86 | OperatingAreaId ↙ ❏ CNF_MerchantTable | |
| Relationship1229 | OperatingAreaId ↙ ❏ STOCK_CNF_WarehouseAssign | |
| FK__CNF_DmgCa__Opera__2A0C1F93 | OperatingAreaId ↙ ❏ CNF_DmgCategory_Permission | |
| FK__DATA_Rese__Opera__11957784 | OperatingAreaId ↙ ❏ DATA_Reservation | |
| FK__CNF_DocTe__Opera__3A42875C | OperatingAreaId ↙ ❏ CNF_DocTemplate_Permission | |
| FK__CNF_Envel__Opera__4A78EF25 | OperatingAreaId ↙ ❏ CNF_Envelope_Permission | |
| FK__CNF_Envel__Opera__54F67D98 | OperatingAreaId ↙ ❏ CNF_EnvelopeRight | |
| FK__CNF_UpSel__Opera__63849411 | OperatingAreaId ↙ ❏ CNF_UpSell_Permission | |
| FK__CNF_Event__Opera__6438C128 | OperatingAreaId ↙ ❏ CNF_Event_Permission | |
| FK__CNF_Works__Opera__39D87308 | OperatingAreaId ↙ ❏ CNF_Workstation | |
| FK__CNF_ExtCa__Opera__709E980D | OperatingAreaId ↙ ❏ CNF_ExtCardTypePermission | |
| fk_CNF_SuggestiveSell_Permission_OperatingAreaId | OperatingAreaId ↙ ❏ CNF_SuggestiveSell_Permission | |
| fkPromotionAssociation_OpArea | OperatingAreaId ↙ ❏ CNF_PromotionAssociation | |
| FK__CNF_Attri__Opera__7A5D0C71 | OperatingAreaId ↙ ❏ CNF_Attribute_SaleValidity | |
| FK__CNF_Promo__Opera__621B6E8C | OperatingAreaId ↙ ❏ CNF_PromotionPermission | |
| FK__DATA_Tran__Opera__648DC6E3 | OperatingAreaId ↙ ❏ DATA_Transaction | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PayId | int IDENTITY |
| * | PayCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | PayType | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | PayMethod | nvarchar(30) COLLATE Latin1_General_CI_AS |
| MinTarget | int | |
| MaxTarget | int | |
| StartValidity | datetime | |
| EndValidity | datetime | |
| * | PayPeriod | nvarchar(30) COLLATE Latin1_General_CI_AS |
| Enabled | smallint | |
| PayAmount | float | |
| StartTime | datetime | |
| EndTime | datetime | |
| Sunday | smallint | |
| Monday | smallint | |
| Tuesday | smallint | |
| Wednesday | smallint | |
| Thursday | smallint | |
| Friday | smallint | |
| Saturday | smallint | |
| MatrixCellId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_PAY__EE8FCECF552286A1 | Primary Key ON PayId | |
| Foreign Key | ||
| FK_CNF_PAY_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PAY_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FKCnf_pay_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| Referring Foreign Key | ||
| FK__CNF_Commi__PayId__17ED6F58 | PayId ↙ ❏ CNF_Commission2Account | |
| FKCommision2Account_CustomPay | PayId ↙ ❏ CNF_Commission2Account(CustomPayId) | |
| FK_CNF_PayMatrixCell_CNF_Pay | PayId ↙ ❏ CNF_Pay_MatrixCell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PayMatrixCellId | int IDENTITY |
| * | PayId | int |
| * | MatrixCellId | int |
| * | UseInRangeFilter | smallint DEFAULT 1 |
| * | UseInOutputQty | smallint DEFAULT 1 |
| Value | float | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Pay___F9BA4F8377A79E07 | Primary Key ON PayMatrixCellId | |
| Foreign Key | ||
| FK_CNF_Pay_MatrixCell_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Pay_MatrixCell_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_PayMatrixCell_CNF_MatrixCell | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_PayMatrixCell_CNF_Pay | PayId ↗ ❏ CNF_PAY | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentCardId | int IDENTITY |
| DeviceId | int | |
| * | CCCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| CCName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| CCDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| ValidFrom | datetime | |
| ValidTo | datetime | |
| FloorLimit | float | |
| FloorLimitLocal | float | |
| * | PaymentCardType | smallint |
| * | DefaultLevel | smallint |
| COAAccountId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Paym__833403D81CF215F8 | Primary Key ON PaymentCardId | |
| Foreign Key | ||
| FK__CNF_Payme__Devic__37311087 | DeviceId ↗ ❏ CNF_Device | |
| FK_CNF_PaymentCard_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PaymentCard_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_STAT_CreditCard_PaymentCardId | PaymentCardId ↙ ❏ STAT_CreditCard | |
| fk_DATA_PaymentAccont_PaymentCardId | PaymentCardId ↙ ❏ DATA_PaymentAccount | |
| FK__CNF_Merch__Payme__2F8FEEBF | PaymentCardId ↙ ❏ CNF_MerchantTable | |
| FK__DATA_Paym__Payme__7F76C749 | PaymentCardId ↙ ❏ DATA_PaymentCard | |
| fk_CNF_PaymentCardCode_PaymentCardId | PaymentCardId ↙ ❏ CNF_PaymentCardCode | |
| FK__CNF_Payme__Payme__382534C0 | PaymentCardId ↙ ❏ CNF_PaymentCardRange | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentCardCodeId | int IDENTITY |
| * | PaymentCardId | int |
| * | PaymentCardCode | nvarchar(30) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Paym__D7CE03F2640D2AAB | Primary Key ON PaymentCardCodeId | |
| Foreign Key | ||
| FK_CNF_PaymentCardCode_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PaymentCardCode_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_PaymentCardCode_PaymentCardId | PaymentCardId ↗ ❏ CNF_PaymentCard | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentCardRangeID | int IDENTITY |
| * | PaymentCardId | int |
| * | FromNumber | varchar(20) COLLATE Latin1_General_CI_AS |
| * | ToNumber | varchar(20) COLLATE Latin1_General_CI_AS |
| * | PriorityOrder | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Paym__C5A9CAE01D302BB6 | Primary Key ON PaymentCardRangeID | |
| Foreign Key | ||
| FK__CNF_Payme__Payme__382534C0 | PaymentCardId ↗ ❏ CNF_PaymentCard | |
| FK_CNF_PaymentCardRange_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PaymentCardRange_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentMethodId | int IDENTITY |
| * | DriverId | int |
| * | PaymentMethodAk | varchar(32) COLLATE Latin1_General_CI_AS |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| DeviceId | int | |
| ShortCut | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| * | PriorityOrder | smallint |
| Color | varchar(10) COLLATE Latin1_General_CI_AS | |
| * | ReservationOnly | smallint |
| * | FeeType | smallint DEFAULT 0 |
| * | Fee | float DEFAULT 0 |
| Code | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| * | OriginalVoid | smallint DEFAULT 0 |
| * | SupervisorOverride | smallint DEFAULT 0 |
| * | Cashback | smallint DEFAULT 0 |
| * | ForceInputAmount | smallint DEFAULT 0 |
| * | CheckOverpayment | smallint DEFAULT 0 |
| SurveyId | int | |
| * | FeeRefundType | smallint DEFAULT 0 |
| MaximumAmount | float | |
| COAAccountId | int | |
| FeeCOAAccountId | int | |
| ReturnedCheckCOAAccountId | int | |
| FixedVoucherCOAAccountId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | AllowGiftAid | smallint |
| PDFTemplateId | int | |
| ToBeConfirmed | smallint | |
| TipsCOAAccountID | int | |
| * | HideFeeInAmount | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Paym__DC31C1D3AE651125 | Primary Key ON PaymentMethodId | |
| UQ__CNF_Paym__DC3E00D317ED29D6 | Unique Key ON PaymentMethodAk | |
| UQ_CNF_PaymentMethod_PriorityOrder | Unique Index ON PriorityOrder | |
| Foreign Key | ||
| FK__CNF_Payme__Devic__391958F9 | DeviceId ↗ ❏ CNF_Device | |
| FK__CNF_Payme__Drive__3A0D7D32 | DriverId ↗ ❏ CNF_Driver | |
| FK_CNF_PaymentMethod_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PaymentMethod_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Depo__Payme__5B3966D3 | PaymentMethodId ↙ ❏ DATA_DepositDetail | |
| FK_STAT_Payment_PaymentMethodId | PaymentMethodId ↙ ❏ STAT_Payment | |
| FK__DATA_Paym__Payme__79BDEDF3 | PaymentMethodId ↙ ❏ DATA_Payment | |
| FK__DATA_Paym__Payme__09F455BC | PaymentMethodId ↙ ❏ DATA_PaymentPlan | |
| FK__CNF_Perfo__Money__3DDE0E16 | PaymentMethodId ↙ ❏ CNF_Performance(MoneyCardId) | |
| FK__CNF_Event__Money__5D8BC399 | PaymentMethodId ↙ ❏ CNF_Event(MoneyCardId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentMethod2MatricCellId | int IDENTITY |
| * | PaymentMethodId | int |
| * | MatrixCellId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Paym__267C347BE156E5C7 | Primary Key ON PaymentMethod2MatricCellId | |
| Idx_PayMet2MatrixCell_MetId_MatrixCellId | Index ON PaymentMethodId, MatrixCellId | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformanceId | int IDENTITY |
| * | EventId | int |
| PriceTableId | int | |
| * | PerformanceAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | PerfDateTime | datetime |
| AccessConfigurationId | int | |
| * | Status | smallint |
| PerfTurno | varchar(10) COLLATE Latin1_General_CI_AS | |
| * | TimeOpening | int |
| * | TimeLimit | int |
| PerformanceEnd | datetime | |
| PurgeDeltaTime | datetime | |
| OnSaleFrom | datetime | |
| OnSaleUntil | datetime | |
| MoneyCardId | int | |
| MoneyCardCost | float | |
| DmgCategoryId | int | |
| PerformanceCode | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | BlockPerformance | smallint DEFAULT 0 |
| MinonScreen | int | |
| PerformanceName | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | BlockPerformanceOnSale | smallint DEFAULT 0 |
| * | OpeningTime | datetime |
| * | ClosingTime | datetime |
| WebPriceTableId | int | |
| * | AllDayPerformance | smallint DEFAULT 0 |
| OnSaleType | int | |
| SaleRestrictionId | int | |
| ExternalId | nvarchar(32) COLLATE Latin1_General_CI_AS | |
| * | HasCapacity | smallint |
| * | HasSeat | smallint |
| SeasonalPriceTableId | int | |
| AllowNotification | smallint | |
| Color | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| StartPreSale | datetime | |
| EndPreSale | datetime | |
| SeasonalOwnerBlock | smallint | |
| WaitListEnabled | smallint DEFAULT 0 | |
| PriorityPerformanceId | int | |
| PriorityType | smallint | |
| SubscriptionName | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| NotTransferrable | smallint | |
| CancellationDateTime | datetime | |
| BestSeatType | int | |
| Indexes | ||
| PK__CNF_Perf__F9606E0138503C46 | Primary Key ON PerformanceId | |
| UQ__CNF_Perf__F960AEE3C36F1EE1 | Unique Key ON PerformanceAK | |
| idx_CNF_Performance_OnSale | Index ON EventId, Status, BlockPerformance, OnSaleFrom, OnSaleUntil, PerformanceId, PerfDateTime | |
| idxCNF_Performance_EventDateStatus | Index ON EventId, PerfDateTime, Status | |
| idx_CNF_Performance_WaitListEnabled | Index ON WaitListEnabled, PerformanceId, PerformanceAK | |
| Idx_Performance_PerfDateTime | Index ON PerfDateTime | |
| idx_Performance_EventId_AccConfigId | Index ON EventId, AccessConfigurationId | |
| idx_CNF_Performance_AptLoadData | Index ON Status, OpeningTime, ClosingTime | |
| idx_CNF_Performance_AptLoadData_2 | Index ON AccessConfigurationId, OpeningTime, ClosingTime | |
| Foreign Key | ||
| FK__CNF_Perfo__Acces__3B01A16B | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK__CNF_Perfo__DmgCa__3BF5C5A4 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Perfo__Event__3CE9E9DD | EventId ↗ ❏ CNF_Event | |
| FK__CNF_Perfo__Money__3DDE0E16 | MoneyCardId ↗ ❏ CNF_PaymentMethod(PaymentMethodId) | |
| FK__CNF_Perfo__Price__3ED2324F | PriceTableId ↗ ❏ CNF_PriceTable | |
| FK_CNF_Performance_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Performance_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_Performance_PriorityPerfId | PriorityPerformanceId ↗ ❏ CNF_Performance(PerformanceId) | |
| fk_CNF_Performance_SeasonalPriceTableId | SeasonalPriceTableId ↗ ❏ CNF_PriceTable(PriceTableId) | |
| fkPerformanceDefaulPriceTable | WebPriceTableId ↗ ❏ CNF_PriceTable(PriceTableId) | |
| Referring Foreign Key | ||
| FK__CNF_Seat__Perfor__715DB21C | PerformanceId ↙ ❏ CNF_Seat | |
| FK__CNF_SeatC__Perfo__780AAFAB | PerformanceId ↙ ❏ CNF_SeatCategory | |
| FK__CNF_SeatP__Perfo__0658CF02 | PerformanceId ↙ ❏ CNF_SeatPerformance | |
| FK_DATA_Media_CNF_Performance_PerformanceId | PerformanceId ↙ ❏ DATA_Media(PerformanceID) | |
| FK_CNF_Performance_SaleValidity_PerformanceId | PerformanceId ↙ ❏ CNF_Performance_SaleValidity | |
| FK__CNF_Perfo__Perfo__2A6C1246 | PerformanceId ↙ ❏ CNF_Performance_Permission | |
| FK__CNF_Space__Perfo__13B2CA20 | PerformanceId ↙ ❏ CNF_SpaceStructure | |
| FK__CNF_Subsc__Perfo__210CC53E | PerformanceId ↙ ❏ CNF_Subscription2Performance | |
| FK_CNF_SeatObject_PerformanceId | PerformanceId ↙ ❏ CNF_SeatObject | |
| FK_CNF_Performance_PriorityPerfId | PerformanceId ↙ ❏ CNF_Performance(PriorityPerformanceId) | |
| FK__DATA_Sale__Perfo__174E50DA | PerformanceId ↙ ❏ DATA_Sale | |
| FK__CNF_Perfo__Perfo__42A2C333 | PerformanceId ↙ ❏ CNF_PerformanceCategoryValidity | |
| FK__CNF_Perfo__Perfo__457F2FDE | PerformanceId ↙ ❏ CNF_PerformanceFilter | |
| FK_RES_CNF_Performance_CNF_Performance | PerformanceId ↙ ❏ RES_CNF_Performance | |
| FK__CNF_Perfo__Perfo__47677850 | PerformanceId ↙ ❏ CNF_PerformanceSeat | |
| FK__DATA_Sale__Perfo__310E22DD | PerformanceId ↙ ❏ DATA_SaleItem2Performance | |
| FK_SIAE_SIAE_PerformanceCapacity_PerformanceId | PerformanceId ↙ ❏ SIAE_PerformanceCapacity | |
| FK_DATA_TicketExport_PerformanceId | PerformanceId ↙ ❏ DATA_TicketExport | |
| FK__DATA_Tick__Perfo__719DA93E | PerformanceId ↙ ❏ DATA_TicketStatus | |
| FK_DATA_Media2Performances_CNF_Performance_PerformanceId | PerformanceId ↙ ❏ DATA_Media2Performances | |
| FK__DATA_Tick__Perfo__554B8353 | PerformanceId ↙ ❏ DATA_Ticket2Performance | |
| RES_Data_Transaction_Performance | PerformanceId ↙ ❏ RES_Data_Transaction | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Performance2MatrixCellId | int IDENTITY |
| PerformanceId | int | |
| MatrixCellId | int | |
| Price | float | |
| Last_UserId_Log | int | |
| Last_Datetime_Log | datetime | |
| Last_WorkstationId_Log | int | |
| Indexes | ||
| PK__CNF_Perf__31F57CDA235D94ED | Primary Key ON Performance2MatrixCellId | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformanceCategoryId | int IDENTITY |
| * | PerformanceCategoryCode | varchar(10) COLLATE Latin1_General_CI_AS |
| PerformanceCategoryDescription | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| ParentId | int | |
| * | Position | int |
| * | Level | int |
| ActivationType | int | |
| RecursiveName | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| RecursiveDesc | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint DEFAULT 1 |
| * | PerformanceCategoryAK | varchar(32) COLLATE Latin1_General_CI_AS |
| DmgCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Perf__E1F76B3B2032B424 | Primary Key ON PerformanceCategoryId | |
| Foreign Key | ||
| FK__CNF_Perfo__DmgCa__46D346CA | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Perfo__Paren__40BA7AC1 | ParentId ↗ ❏ CNF_PerformanceCategory(PerformanceCategoryId) | |
| FK_CNF_PerformanceCategory_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PerformanceCategory_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Perfo__Paren__40BA7AC1 | PerformanceCategoryId ↙ ❏ CNF_PerformanceCategory(ParentId) | |
| FK__CNF_Perfo__Perfo__4396E76C | PerformanceCategoryId ↙ ❏ CNF_PerformanceCategoryValidity | |
| fk_CNF_SuggestiveSell2EventCategory_PerformanceCategoryId | PerformanceCategoryId ↙ ❏ CNF_SuggestiveSell2EventCategory | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerfCatValidityId | int IDENTITY |
| * | PerformanceCategoryId | int |
| EventId | int | |
| PerformanceId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| SubscriptionId | int | |
| Indexes | ||
| PK__CNF_Perf__42A2BDE581EF307C | Primary Key ON PerfCatValidityId | |
| Idx_CNF_PerformanceCatVal_PerfId | Index ON PerformanceId | |
| Idx_CNF_PerformanceCatVal_Category | Index ON PerformanceCategoryId, EventId, PerformanceId | |
| Idx_PerfCatValidity_EventId_PerfId | Index ON EventId, PerformanceId | |
| Foreign Key | ||
| FK__CNF_Perfo__Event__41AE9EFA | EventId ↗ ❏ CNF_Event | |
| FK__CNF_Perfo__Perfo__42A2C333 | PerformanceId ↗ ❏ CNF_Performance | |
| FK__CNF_Perfo__Perfo__4396E76C | PerformanceCategoryId ↗ ❏ CNF_PerformanceCategory | |
| FK_CNF_PerformanceCategoryValidity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PerformanceCategoryValidity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_PerformanceCategoryValidity_SubscriptionId | SubscriptionId ↗ ❏ CNF_Subscription | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformaceFilterId | int IDENTITY |
| * | AttributeId | int |
| * | PerformanceId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Perf__ED16470BD8F3F6FE | Primary Key ON PerformaceFilterId | |
| PerfFilter_AttributeId | Index ON AttributeId | |
| Idx_CNF_PerformanceFilter_PerfId | Index ON PerformanceId | |
| Foreign Key | ||
| FK__CNF_Perfo__Attri__448B0BA5 | AttributeId ↗ ❏ CNF_Attribute | |
| FK__CNF_Perfo__Perfo__457F2FDE | PerformanceId ↗ ❏ CNF_Performance | |
| FK_CNF_PerformanceFilter_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PerformanceFilter_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformanceSeatId | int IDENTITY |
| * | SeatLayoutItemID | int |
| * | PerformanceId | int |
| CapacityCounterId | int | |
| * | SeatCategory | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Perf__F7AA34891B471887 | Primary Key ON PerformanceSeatId | |
| Foreign Key | ||
| FK__CNF_Perfo__Capac__46735417 | CapacityCounterId ↗ ❏ DATA_CapacityCounter | |
| FK__CNF_Perfo__Perfo__47677850 | PerformanceId ↗ ❏ CNF_Performance | |
| FK__CNF_Perfo__SeatL__485B9C89 | SeatLayoutItemID ↗ ❏ CNF_SeatLayoutItem | |
| FK_CNF_PerformanceSeat_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PerformanceSeat_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformancePermissionId | int IDENTITY |
| * | PerformanceId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| DmgCategoryId | int | |
| AccountId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Perf__31EEC52936107CDE | Primary Key ON PerformancePermissionId | |
| Idx_CNF_PerformancePermission_PerfId | Index ON PerformanceId | |
| Foreign Key | ||
| FK__CNF_Perfo__Accou__31190FD5 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Perfo__DmgCa__3024EB9C | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Perfo__Opera__2C545AB8 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Perfo__Perfo__2A6C1246 | PerformanceId ↗ ❏ CNF_Performance | |
| FK__CNF_Perfo__SiteI__2B60367F | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Perfo__UserG__2E3CA32A | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Perfo__UserI__2F30C763 | UserId ↗ ❏ CNF_User | |
| FK__CNF_Perfo__Works__2D487EF1 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_Performance_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Performance_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformanceSaleValidityId | int IDENTITY |
| * | PerformanceId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| DmgCategoryId | int | |
| * | OnSaleFrom | datetime |
| * | OnSaleUntil | datetime |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Perf__C989DCD92CB4A373 | Primary Key ON PerformanceSaleValidityId | |
| Idx_CNF_PerfSaleVal_PerfId | Index ON PerformanceId | |
| Idx_PerfSaleValidity_PerfId_WksId | Index ON PerformanceId, WorkstationId | |
| Foreign Key | ||
| FK_CNF_Performance_SaleValidity_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_Performance_SaleValidity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Performance_SaleValidity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_Performance_SaleValidity_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_CNF_Performance_SaleValidity_PerformanceId | PerformanceId ↗ ❏ CNF_Performance | |
| FK_CNF_Performance_SaleValidity_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_CNF_Performance_SaleValidity_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PriceListId | int IDENTITY |
| * | Key1 | int |
| * | PriceListAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | PriceListType | smallint |
| * | PriceListCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | PriceListName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| ValidFrom | datetime | |
| ValidTo | datetime | |
| * | SystemId | int |
| ValidFromTime | datetime | |
| ValidToTime | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| SortOrder | int | |
| Indexes | ||
| PK__CNF_Pric__1E30F3AC2F2915BD | Primary Key ON PriceListId | |
| Foreign Key | ||
| FK__CNF_Price__Syste__494FC0C2 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_PriceList_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PriceList_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Catal__Price__0D6FE0E5 | PriceListId ↙ ❏ CNF_Catalog | |
| FK__CNF_Matri__Price__17B8652E | PriceListId ↙ ❏ CNF_MatrixCell | |
| FK__CNF_Matri__Price__241E3C13 | PriceListId ↙ ❏ CNF_MatrixDimension | |
| FK__CNF_Envel__Price__56DEC60A | PriceListId ↙ ❏ CNF_EnvelopeRight | |
| FK__DATA_Acco__B2BPr__454A25B4 | PriceListId ↙ ❏ DATA_AccountFinancial(B2BPriceListId) | |
| FK__DATA_Acco__Price__463E49ED | PriceListId ↙ ❏ DATA_AccountFinancial | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PriceTableId | int IDENTITY |
| * | EventId | int |
| PriceTableAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Color | varchar(7) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint |
| OnSaleFrom | datetime | |
| OnSaleUntil | datetime | |
| PriceTableType | smallint DEFAULT 0 | |
| * | PriceTableOption | smallint DEFAULT 0 |
| SortOrder | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Pric__97BBDA4C84011535 | Primary Key ON PriceTableId | |
| Foreign Key | ||
| FK__CNF_Price__Event__4A43E4FB | EventId ↗ ❏ CNF_Event | |
| FK_CNF_PriceTable_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PriceTable_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fkSiaeCategoryPriceTableId | PriceTableId ↙ ❏ SIAE_Category | |
| FK__CNF_Matri__Price__16C440F5 | PriceTableId ↙ ❏ CNF_MatrixCell | |
| FK__CNF_Matri__Price__232A17DA | PriceTableId ↙ ❏ CNF_MatrixDimension | |
| FK__CNF_Perfo__Price__3ED2324F | PriceTableId ↙ ❏ CNF_Performance | |
| fk_CNF_Performance_SeasonalPriceTableId | PriceTableId ↙ ❏ CNF_Performance(SeasonalPriceTableId) | |
| fkPerformanceDefaulPriceTable | PriceTableId ↙ ❏ CNF_Performance(WebPriceTableId) | |
| FK__CNF_Envel__Price__55EAA1D1 | PriceTableId ↙ ❏ CNF_EnvelopeRight | |
| fkEventDefaulPriceTable | PriceTableId ↙ ❏ CNF_Event | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProducerId | int IDENTITY |
| SystemId | int | |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| DmgCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Note | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Prod__1336965207C4D984 | Primary Key ON ProducerId | |
| Foreign Key | ||
| FK__CNF_Produ__DmgCa__4B380934 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Produ__Syste__4C2C2D6D | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Producer_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Producer_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductId | int IDENTITY |
| * | Key1 | int |
| * | Key2 | int |
| * | ProductAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | ProductType | smallint |
| * | Enabled | smallint |
| * | ProductStatus | smallint |
| * | ProductTaxType | smallint |
| * | ProductCode | nvarchar(20) COLLATE Latin1_General_CI_AS |
| ProductName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| IsCombo | smallint | |
| * | PriceType | smallint |
| * | Price | float |
| Cost | float | |
| * | Refundable | smallint |
| MinPrice | float | |
| PrintedPrice | float | |
| CreationDate | datetime | |
| CreatedByUser | int | |
| * | ProductMinQty | int |
| * | ProductQtyStep | int |
| TaxPackageId | int | |
| ValidFrom | datetime | |
| ValidTo | datetime | |
| * | ValidityOverride | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ProductDescription | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Prod__B40CC6CD5A13D208 | Primary Key ON ProductId | |
| UQ__CNF_Prod__2F4E024F10F4A08B | Unique Key ON ProductCode | |
| Idx1 | Unique Index ON Key1, Key2, ProductAK | |
| Foreign Key | ||
| FK__CNF_Produ__TaxPa__4E1475DF | TaxPackageId ↗ ❏ CNF_TaxPackage | |
| FK_CNF_Product_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Product_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Catal__Produ__0F582957 | ProductId ↙ ❏ CNF_Catalog2Product | |
| FK__CNF_Categ__Produ__12349602 | ProductId ↙ ❏ CNF_Category2Product | |
| FK__CNF_Combo__Combo__151102AD | ProductId ↙ ❏ CNF_Combo(ComboProductId) | |
| FK__CNF_Combo__Produ__160526E6 | ProductId ↙ ❏ CNF_Combo | |
| FK__INV_Item__Produc__0D8FDC76 | ProductId ↙ ❏ INV_Item | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductLinkerId | int IDENTITY |
| EntityType | smallint | |
| EntityId | int | |
| MatrixCellId | int | |
| MatrixSheetId | int | |
| AttributeId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Prod__D59FA095EB824781 | Primary Key ON ProductLinkerId | |
| Foreign Key | ||
| FK_CNF_ProductLinker_AttributeId | AttributeId ↗ ❏ CNF_Attribute | |
| FK_CNF_ProductLinker_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_CNF_ProductLinker_MatrixSheetId | MatrixSheetId ↗ ❏ CNF_MatrixSheet | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductValidityId | int IDENTITY |
| * | SystemId | int |
| * | ReferenceTable | smallint |
| * | ReferenceId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ValidityXML | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Prod__8D08B5A24B3C5BB7 | Primary Key ON ProductValidityId | |
| IDX_ProductValidity_Reference | Unique Index ON ReferenceTable, ReferenceId | |
| Idx_ProductValidity_Full | Index ON ReferenceTable | |
| Foreign Key | ||
| FK__CNF_Produ__Syste__4F089A18 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_ProductValidity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ProductValidity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Produ__Produ__50F0E28A | ProductValidityId ↙ ❏ CNF_ProductValidity2Event | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductValidity2EventId | int IDENTITY |
| * | ProductValidityId | int |
| * | ReferenceTable | smallint |
| * | ReferenceId | int |
| * | EventId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Prod__00AA1078D04F1AB5 | Primary Key ON ProductValidity2EventId | |
| UQ_ProductValidity2Event | Unique Index ON ReferenceTable, ReferenceId, EventId | |
| Foreign Key | ||
| FK__CNF_Produ__Event__4FFCBE51 | EventId ↗ ❏ CNF_Event | |
| FK__CNF_Produ__Produ__50F0E28A | ProductValidityId ↗ ❏ CNF_ProductValidity | |
| FK_CNF_ProductValidity2Event_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ProductValidity2Event_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProjectionId | int IDENTITY |
| AccessConfigurationId | int | |
| LocationId | int | |
| * | Date | datetime |
| * | ProjectionValue | int |
| Adjustment | int | |
| ToDate | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Proj__B605821990055E62 | Primary Key ON ProjectionId | |
| Foreign Key | ||
| FK__CNF_Proje__Acces__51E506C3 | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK__CNF_Proje__Locat__52D92AFC | LocationId ↗ ❏ CNF_Location | |
| FK_CNF_Projection_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Projection_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionId | int IDENTITY |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Active | smallint |
| Code | nvarchar(40) COLLATE Latin1_General_CI_AS | |
| PromotionType | smallint | |
| * | CreatableOnPos | smallint DEFAULT 0 |
| * | SupervisorOverride | smallint DEFAULT 0 |
| MaxCouponsOnTransaction | int | |
| DmgCategoryId | int | |
| PeriodMaxUsage | int | |
| PeriodKind | smallint | |
| UseQuota | smallint DEFAULT 0 | |
| NotCombinable | smallint | |
| CalculatedActiveFrom | datetime | |
| CalculatedActiveTo | datetime | |
| CreationDate | datetime | |
| LastModificationDate | datetime | |
| UserID | int | |
| COAAccountId | int | |
| MaxTicketsToApplyPromotion | int | |
| HideItemPrice | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | PckVoidRefundType | smallint DEFAULT 0 |
| notes | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| OptionalItemsRequired | smallint | |
| Weight | int | |
| ExternalCouponType | smallint | |
| ExternalPackageType | smallint | |
| Configuration | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| UseQuotaForAccounts | smallint DEFAULT 0 | |
| CheckByDateRange | smallint | |
| COAnoDiscount | smallint | |
| * | NotCombinableRollingDiscount | smallint DEFAULT 0 |
| * | NotCombinableWithDynamicOffer | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Prom__52C42FCF4CFECF1A | Primary Key ON PromotionId | |
| Foreign Key | ||
| FK_CNF_Promotion_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Promotion_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_Promotion_UserID | UserID ↗ ❏ CNF_User(UserId) | |
| Referring Foreign Key | ||
| FK__DATA_Coup__Promo__5398450B | PromotionId ↙ ❏ DATA_Coupon | |
| FK_CNF_Promotion2Account_PromotionId | PromotionId ↙ ❏ CNF_Promotion2Account | |
| FK_DATA_Promotion2Account_PromotionId | PromotionId ↙ ❏ DATA_Promotion2Account | |
| FK_CNF_PromotionProductCategory_PromotionId | PromotionId ↙ ❏ CNF_PromotionProductCategory | |
| FK_DATA_SaleCoupon_Promotion | PromotionId ↙ ❏ DATA_SaleCoupon | |
| FK_CNF_StatisticalGroup2Promotion_PromotionId | PromotionId ↙ ❏ CNF_StatisticalGroup2Promotion | |
| fkCNF_Promotion_Quota | PromotionId ↙ ❏ CNF_Promotion_Quota | |
| FK__CNF_Promo__Promo__5A7A4CC4 | PromotionId ↙ ❏ CNF_PromotionItem | |
| FK__CNF_Promo__Promo__630F92C5 | PromotionId ↙ ❏ CNF_PromotionPermission | |
| FK__CNF_Promo__Promo__6AB0B48D | PromotionId ↙ ❏ CNF_PromotionValidity | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Promotion2AccountId | int IDENTITY |
| * | PromotionId | int |
| PromotionType | smallint | |
| AccountId | int | |
| DmgCategoryId | int | |
| * | Quota | int |
| * | Enabled | smallint |
| * | Last_UserId_Log | int |
| * | Last_WorkstationId_Log | int |
| Last_DateTime_Log | datetime | |
| * | VisitPerfDate | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Prom__6341F6D2E2EDCF78 | Primary Key ON Promotion2AccountId | |
| Idx_CNF_Promotion2Account_AccountId | Index ON PromotionId, AccountId, Enabled | |
| Idx_CNF_Promotion2Account_DmgCategoryId | Index ON PromotionId, DmgCategoryId, Enabled | |
| Foreign Key | ||
| FK_CNF_Promotion2Account_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_CNF_Promotion2Account_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_Promotion2Account_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Promotion2Account_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_Promotion2Account_PromotionId | PromotionId ↗ ❏ CNF_Promotion | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionAssociationId | int IDENTITY |
| * | PromotionId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| * | Allow | smallint |
| ClientCategoryId | varchar(32) COLLATE Latin1_General_CI_AS | |
| CliendId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Prom__C31A028AC3AAB8BB | Primary Key ON PromotionAssociationId | |
| Foreign Key | ||
| FK_CNF_PromotionAssociation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionAssociation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkPromotionAssociation_OpArea | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| fkPromotionAssociation_Site | SiteId ↗ ❏ CNF_Site | |
| fkPromotionAssociation_WorkStation | WorkstationId ↗ ❏ CNF_Workstation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionEventId | int IDENTITY |
| * | PromotionItemRuleId | int |
| EventId | int | |
| DmgCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Prom__52458DE6EC318EF0 | Primary Key ON PromotionEventId | |
| Foreign Key | ||
| FK_CNF_PromotionEvent_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionEvent_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_promotionevent_dmgcategoryid | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_PromotionEvent_Event | EventId ↗ ❏ CNF_Event | |
| FK_PromotionEvent_PromotionItemRule | PromotionItemRuleId ↗ ❏ CNF_PromotionItemRule | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionItemId | int IDENTITY |
| * | PromotionId | int |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| RuleType | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| PeriodMaxUsage | int | |
| PeriodKind | smallint | |
| UseQuota | smallint DEFAULT 0 | |
| CreationDate | datetime | |
| LastModificationDate | datetime | |
| UserID | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| notes | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Prom__2B1778CCB44502D7 | Primary Key ON PromotionItemId | |
| Idx_PromotionItem_PromoId | Index ON PromotionId | |
| Foreign Key | ||
| FK__CNF_Promo__Promo__5A7A4CC4 | PromotionId ↗ ❏ CNF_Promotion | |
| FK_CNF_PromotionItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_PromotionItem_UserID | UserID ↗ ❏ CNF_User(UserId) | |
| Referring Foreign Key | ||
| fkCNF_PromotionItem_SalePromotionRule | PromotionItemId ↙ ❏ DATA_SalePromotionRule | |
| fkCNF_PromotionItem_Quota | PromotionItemId ↙ ❏ CNF_PromotionItem_Quota | |
| FK__CNF_Promo__Promo__5C629536 | PromotionItemId ↙ ❏ CNF_PromotionItemRule | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionItemRuleId | int IDENTITY |
| * | PromotionItemId | int |
| MaxForTransaction | int | |
| AnyProduct | int | |
| FromQty | int | |
| ToQty | int | |
| UpsaleRevenue | int | |
| UpsaleQuantity | int | |
| FromRevenue | money | |
| ToRevenue | money | |
| ApplytoQty | int | |
| DiscPerc | float | |
| PromotionPrice | money | |
| DiscForfait | money | |
| NewProduct | int | |
| ApplyDiscountToAllItem | int | |
| RepeatRange | int | |
| ChangePerformance | smallint | |
| MinDaysRenew | int | |
| MaxDaysRenew | int | |
| ReplaceWith | smallint | |
| MatrixCellId | int | |
| AttributeTemplateId | int | |
| AttributeId | int | |
| PriceFromMatrixSheet | smallint | |
| CheckHistorical | smallint | |
| CheckHistoricalFromDate | datetime | |
| CheckHistoricalDateTo | datetime | |
| * | Active | smallint DEFAULT 1 |
| CreationDate | datetime | |
| LastModificationDate | datetime | |
| UserID | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| UseNetRevenue | smallint | |
| MinAmountThreShold | money | |
| MaxAmountThreShold | money | |
| LimitToQuantity | int DEFAULT 0 | |
| MinDayRange | int | |
| MaxDayRange | int | |
| Indexes | ||
| PK__CNF_Prom__E98EA2ADB477D161 | Primary Key ON PromotionItemRuleId | |
| Foreign Key | ||
| FK__CNF_Promo__Promo__5C629536 | PromotionItemId ↗ ❏ CNF_PromotionItem | |
| FK_CNF_PromotionItemRule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionItemRule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_PromotionItemRule_UserID | UserID ↗ ❏ CNF_User(UserId) | |
| fkPromotionItemRule_Attribute | AttributeId ↗ ❏ CNF_Attribute | |
| fkPromotionItemRule_AttributeTemplate | AttributeTemplateId ↗ ❏ CNF_AttributeTemplate | |
| fkPromotionItemRule_MatrixCell | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| Referring Foreign Key | ||
| FK_DATA_TransactionItem_PromotionItemRule | PromotionItemRuleId ↙ ❏ DATA_TransactionItem | |
| FK_DATA_TransactionItemRule_PromotionItemRule | PromotionItemRuleId ↙ ❏ DATA_TransactionItemRule | |
| FK_CNF_PromotionProductCategory_ItemRuleId | PromotionItemRuleId ↙ ❏ CNF_PromotionProductCategory | |
| FK_DATA_SaleItem_PromotionItemRule | PromotionItemRuleId ↙ ❏ DATA_SaleItem | |
| FK_DATA_SaleIteRule_PromotionItemRule | PromotionItemRuleId ↙ ❏ DATA_SaleItemRule | |
| fkCNF_PromotionItemRule_SalePromotionRule | PromotionItemRuleId ↙ ❏ DATA_SalePromotionRule | |
| FK_PromotionEvent_PromotionItemRule | PromotionItemRuleId ↙ ❏ CNF_PromotionEvent | |
| FK__CNF_Promo__Promo__68C86C1B | PromotionItemRuleId ↙ ❏ CNF_PromotionProduct | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionItemQuotaId | int IDENTITY |
| * | PromotionItemId | int |
| * | MaxUsage | int |
| Period | datetime | |
| Reversed | int | |
| Usage | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Prom__5547E7993307F176 | Primary Key ON PromotionItemQuotaId | |
| idxPromotionItem_Usage | Index ON PromotionItemId | |
| Foreign Key | ||
| FK_CNF_PromotionItem_Quota_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionItem_Quota_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkCNF_PromotionItem_Quota | PromotionItemId ↗ ❏ CNF_PromotionItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionPermissionId | int IDENTITY |
| * | PromotionId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| DmgCategoryId | int | |
| AccountId | int | |
| Allow | smallint | |
| FromDate | datetime | |
| ToDate | datetime | |
| * | ValidityType | smallint |
| TicketId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Prom__D654DDE79D16671A | Primary Key ON PromotionPermissionId | |
| Foreign Key | ||
| FK__CNF_Promo__Accou__6033261A | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Promo__DmgCa__61274A53 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Promo__Opera__621B6E8C | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Promo__Promo__630F92C5 | PromotionId ↗ ❏ CNF_Promotion | |
| FK__CNF_Promo__SiteI__6403B6FE | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Promo__Ticke__64F7DB37 | TicketId ↗ ❏ DATA_Ticket | |
| FK__CNF_Promo__UserG__65EBFF70 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Promo__UserI__66E023A9 | UserId ↗ ❏ CNF_User | |
| FK__CNF_Promo__Works__67D447E2 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_PromotionPermission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionPermission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionProductId | int IDENTITY |
| * | PromotionItemRuleId | int |
| MatrixcellId | int | |
| AttributeId | int | |
| DiscPerc | float | |
| PromotionPrice | money | |
| DiscForfait | money | |
| ReplaceMatrixCellId | int | |
| ReplaceAttributeId | int | |
| CategoryExclude | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Prom__C7B85D1CB1AE8F1C | Primary Key ON PromotionProductId | |
| Idx_PromoProduct_ItemRuleId | Index ON PromotionItemRuleId | |
| Foreign Key | ||
| FK__CNF_Promo__Promo__68C86C1B | PromotionItemRuleId ↗ ❏ CNF_PromotionItemRule | |
| FK_CNF_PromotionProduct_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionProduct_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkPromotionProduct_Attribute | AttributeId ↗ ❏ CNF_Attribute | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionProductCategoryId | int IDENTITY |
| * | PromotionId | int |
| * | ProductCategoryId | int |
| * | PromotionItemRuleId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Prom__54FC1EC9D6B4894E | Primary Key ON PromotionProductCategoryId | |
| Foreign Key | ||
| FK_CNF_PromotionProductCategory_CategoryId | ProductCategoryId ↗ ❏ STOCK_CNF_ProductCategory(CategoryId) | |
| FK_CNF_PromotionProductCategory_ItemRuleId | PromotionItemRuleId ↗ ❏ CNF_PromotionItemRule | |
| FK_CNF_PromotionProductCategory_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionProductCategory_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_PromotionProductCategory_PromotionId | PromotionId ↗ ❏ CNF_Promotion | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionValidityId | int IDENTITY |
| * | PromotionId | int |
| * | FromDate | smalldatetime |
| ToDate | smalldatetime | |
| Sunday | smallint | |
| Monday | smallint | |
| Tuesday | smallint | |
| Wednesday | smallint | |
| Thursday | smallint | |
| Friday | smallint | |
| Saturday | smallint | |
| FromTime | datetime | |
| ToTime | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | ValidityDateType | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Prom__CFD8F3CDFE7C489F | Primary Key ON PromotionValidityId | |
| Foreign Key | ||
| FK__CNF_Promo__Promo__6AB0B48D | PromotionId ↗ ❏ CNF_Promotion | |
| FK_CNF_PromotionValidity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PromotionValidity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PromotionQuotaId | int IDENTITY |
| * | PromotionId | int |
| * | MaxUsage | int |
| Period | datetime | |
| Reversed | int | |
| Usage | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| InUse | int | |
| Indexes | ||
| PK__CNF_Prom__62BE5A11E2ABDC98 | Primary Key ON PromotionQuotaId | |
| idxPromotonUsage_PromotionId | Index ON PromotionId | |
| Foreign Key | ||
| FK_CNF_Promotion_Quota_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Promotion_Quota_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkCNF_Promotion_Quota | PromotionId ↗ ❏ CNF_Promotion | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DictionaryId | int IDENTITY |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DictionaryText | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_PswD__15ACD2E7C69E95E1 | Primary Key ON DictionaryId | |
| Foreign Key | ||
| FK_CNF_PswDictionary_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_PswDictionary_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RenewalContractId | int IDENTITY |
| * | RenewalContractAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | RenewalContractCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | RenewalContractName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Description | nvarchar(4000) COLLATE Latin1_General_CI_AS | |
| * | NumberMandatoryRenewal | int |
| MandatoryRenewalOnly | smallint | |
| * | Enabled | smallint |
| StartDate | datetime | |
| EndDate | datetime | |
| TermsAndConditions | nvarchar(4000) COLLATE Latin1_General_CI_AS | |
| PreviewDocTemplateId | int | |
| FinalDocTemplateId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | TryBeforeDays | smallint DEFAULT 0 |
| * | MaxAttemptCount | smallint DEFAULT 0 |
| * | TryAfterDays | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Rene__F796DBCD7B15DFC3 | Primary Key ON RenewalContractId | |
| UQ__CNF_Rene__F79618DF3034DEA3 | Unique Key ON RenewalContractAK | |
| Foreign Key | ||
| FK_CNF_RenewalContract_FinalDocTemplateId | FinalDocTemplateId ↗ ❏ CNF_DocTemplate(DocTemplateId) | |
| FK_CNF_RenewalContract_PreviewDocTemplateId | PreviewDocTemplateId ↗ ❏ CNF_DocTemplate(DocTemplateId) | |
| FK_CNF_RenewalContract_UserId | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_RenewalContract_WorkstationId | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DATA_RenewalPlan_RenewalContractId | RenewalContractId ↙ ❏ DATA_RenewalPlan | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RightId | int IDENTITY |
| ParentId | int | |
| * | TreeLevel | int |
| FamilyType | smallint | |
| * | RightAK | varchar(32) COLLATE Latin1_General_CI_AS |
| LicenceId | int | |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | DataType | smallint |
| DataMode | smallint | |
| DestType | smallint | |
| * | SortOrder | int |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| DataTable | smallint | |
| Attribute | text COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Righ__465E8856E00261D8 | Primary Key ON RightId | |
| IDX_CNF_Right_RightAK | Unique Index ON FamilyType, RightAK | |
| IDX_CNF_Right_SortOrder | Index ON SortOrder | |
| Foreign Key | ||
| FK__CNF_Right__Paren__6BA4D8C6 | ParentId ↗ ❏ CNF_Right(RightId) | |
| Referring Foreign Key | ||
| FK__DATA_Righ__Right__137DBFF6 | RightId ↙ ❏ DATA_Right | |
| FK__CNF_Right__Paren__6BA4D8C6 | RightId ↙ ❏ CNF_Right(ParentId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | RoundingRuleId | int IDENTITY |
| * | SystemId | int |
| * | RoundingCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | RoundingName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | RoundingType | smallint |
| * | RoundingGroup | smallint |
| * | Rounding | int |
| * | Decimals | int |
| CustomNotRounded | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| CustomRoundDown | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| CustomRoundUp | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint DEFAULT 1 |
| * | ForceRoundOnVoid | smallint DEFAULT 0 |
| COAAccountId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Roun__A9A5CF4C8AF76CE0 | Primary Key ON RoundingRuleId | |
| Foreign Key | ||
| FK__CNF_Round__Syste__6C98FCFF | SystemId ↗ ❏ CNF_System | |
| FK_CNF_RoundingRule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_RoundingRule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Curre__Round__1CB22475 | RoundingRuleId ↙ ❏ CNF_Currency | |
| FK_CNF_ExchangeRate_RoundingRuleId | RoundingRuleId ↙ ❏ CNF_ExchangeRate | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RowID | int IDENTITY |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| IpAddress | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_SALT__FFEE74517F4647FA | Primary Key ON RowID | |
| Foreign Key | ||
| FK_CNF_SALTO_PERIPHERALS_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SALTO_PERIPHERALS_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RowID | int IDENTITY |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| ZoneId | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Status | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_SALT__FFEE7451A0A874CA | Primary Key ON RowID | |
| UQ__CNF_SALT__601667B4529C8EA3 | Unique Key ON ZoneId | |
| Foreign Key | ||
| FK_CNF_SALTO_ZONE_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SALTO_ZONE_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SchedulerId | int IDENTITY |
| * | WorkstationId | int |
| * | DriverId | int |
| SchedulerNotes | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| TimeFrom | datetime | |
| TimeTo | datetime | |
| * | Interval | smallint |
| * | ActiveMonday | smallint |
| * | ActiveTuesday | smallint |
| * | ActiveWednesday | smallint |
| * | ActiveThursday | smallint |
| * | ActiveFriday | smallint |
| * | ActiveSaturday | smallint |
| * | ActiveSunday | smallint |
| * | Enabled | smallint |
| LastFire | datetime | |
| ValidDays | varchar(100) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Configuration | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| LastReference | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| CalendarId | int | |
| * | OncePerDay | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Sche__8922A209C908703E | Primary Key ON SchedulerId | |
| Foreign Key | ||
| FK__CNF_Sched__Drive__6E814571 | DriverId ↗ ❏ CNF_Driver | |
| FK__CNF_Sched__Works__6F7569AA | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_Scheduler_CalendarId | CalendarId ↗ ❏ CNF_Calendar | |
| FK_CNF_Scheduler_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Scheduler_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeasonalRuleId | int IDENTITY |
| * | Code | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| IncrementType | smallint | |
| IncrementValue | smallint | |
| CalculationType | smallint | |
| DiscountType | smallint | |
| DiscountValue | float | |
| RuleAK | nvarchar(32) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Description | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Seas__CDA65ADD22B752C1 | Primary Key ON SeasonalRuleId | |
| Foreign Key | ||
| FK_CNF_SeasonalRule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeasonalRule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatId | int IDENTITY |
| * | EnvelopeId | int |
| * | SeatMapId | int |
| * | RowLabel | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | ColLabel | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | Weight | int |
| * | Enabled | smallint |
| PerformanceId | int | |
| SeatLabel | varchar(100) COLLATE Latin1_General_CI_AS | |
| SpaceStructureId | int | |
| SeatCategoryId | int | |
| * | PositionType | smallint |
| DocumentId | int | |
| SaleItemId | int | |
| TicketId | int | |
| ShopCartItemGuid | varchar(38) COLLATE Latin1_General_CI_AS | |
| ShopCartItemId | int | |
| SaleItemGuid | varchar(38) COLLATE Latin1_General_CI_AS | |
| Custom1 | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| Custom2 | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| Custom3 | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| Custom4 | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| Custom5 | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Row | int | |
| Col | int | |
| Status | smallint | |
| HoldDateTime | datetime | |
| AdditionalCategory | varchar(200) COLLATE Latin1_General_CI_AS | |
| * | WarningType | smallint |
| PriorityHeldDateTime | datetime | |
| LastStatus | smallint | |
| ParentSeatId | int | |
| Indexes | ||
| PK__CNF_Seat__311713F3D35AD371 | Primary Key ON SeatId | |
| IDX_CNF_Seat_DocumentId | Index ON DocumentId | |
| IDX_CNF_Seat_EnvelopeId | Index ON EnvelopeId | |
| IDX_CNF_Seat_PerformanceId | Index ON PerformanceId | |
| IDX_CNF_Seat_SaleItemGuid | Index ON SaleItemGuid | |
| IDX_CNF_Seat_SaleItemId | Index ON SaleItemId | |
| IDX_CNF_Seat_SeatCategoryId | Index ON SeatCategoryId | |
| IDX_CNF_Seat_SeatMapId | Index ON SeatMapId | |
| IDX_CNF_Seat_ShopCartItemGuid | Index ON ShopCartItemGuid | |
| IDX_CNF_Seat_ShopCartItemId | Index ON ShopCartItemId | |
| IDX_CNF_Seat_SpaceStructureId | Index ON SpaceStructureId | |
| IDX_CNF_Seat_TicketId | Index ON TicketId | |
| Foreign Key | ||
| FK__CNF_Seat__Envelo__70698DE3 | EnvelopeId ↗ ❏ CNF_Envelope | |
| FK__CNF_Seat__Perfor__715DB21C | PerformanceId ↗ ❏ CNF_Performance | |
| FK__CNF_Seat__SaleIt__7251D655 | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK__CNF_Seat__SeatCa__7345FA8E | SeatCategoryId ↗ ❏ CNF_SeatCategory | |
| FK__CNF_Seat__SpaceS__743A1EC7 | SpaceStructureId ↗ ❏ CNF_SpaceStructure | |
| FK__CNF_Seat__Ticket__752E4300 | TicketId ↗ ❏ DATA_Ticket | |
| FK_CNF_Seat_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Seat_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_SeatP__SeatI__074CF33B | SeatId ↙ ❏ CNF_SeatPerformance | |
| FK__DATA_Shop__SeatI__47F18835 | SeatId ↙ ❏ DATA_ShopCartItemSeat | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatCategoryId | int IDENTITY |
| * | Name | nvarchar(30) COLLATE Latin1_General_CI_AS |
| Color | varchar(10) COLLATE Latin1_General_CI_AS | |
| AttributeId | int | |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| ExternalReference | char(10) COLLATE Latin1_General_CI_AS | |
| PerformanceId | int | |
| Temp_SeatCategoryId | int | |
| Weight | int | |
| SeatCategoryType | smallint DEFAULT 1 | |
| * | Enabled | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Seat__75ACE6E5A9FBB753 | Primary Key ON SeatCategoryId | |
| idx_CNF_SeatCategory_SaleAttribute | Index ON PerformanceId, AttributeId, SeatCategoryId | |
| Idx_CNF_SeatCategory_API_Search | Index ON AttributeId | |
| idx_SeatCategory_AttId_TempId | Index ON AttributeId, Temp_SeatCategoryId | |
| Foreign Key | ||
| FK__CNF_SeatC__Attri__77168B72 | AttributeId ↗ ❏ CNF_Attribute | |
| FK__CNF_SeatC__Perfo__780AAFAB | PerformanceId ↗ ❏ CNF_Performance | |
| FK_CNF_SeatCategory_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeatCategory_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fkSiaeCategorySeatCategoryId1 | SeatCategoryId ↙ ❏ SIAE_Category | |
| FK__SIAE_Cate__SeatC__542254F0 | SeatCategoryId ↙ ❏ SIAE_Category_OLD | |
| FK__CNF_Seat__SeatCa__7345FA8E | SeatCategoryId ↙ ❏ CNF_Seat | |
| FK__CNF_SeatC__SeatC__7BDB408F | SeatCategoryId ↙ ❏ CNF_SeatCategory_Permission | |
| FK_SIAE_PerformanceCapacity_SeatCategoryId | SeatCategoryId ↙ ❏ SIAE_PerformanceCapacity | |
| FK__CNF_Envel__SeatC__5031C87B | SeatCategoryId ↙ ❏ CNF_EnvelopeCapacity | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatCategoryPermissionId | int IDENTITY |
| * | SeatCategoryId | int |
| SiteId | int | |
| WorkstationId | int | |
| DmgCategoryId | int | |
| UserId | int | |
| UserGroupId | int | |
| AccountId | int | |
| OperatingAreaId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Seat__D16F202C47C35751 | Primary Key ON SeatCategoryPermissionId | |
| Foreign Key | ||
| FK__CNF_SeatC__Accou__78FED3E4 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_SeatC__DmgCa__79F2F81D | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_SeatC__Opera__7AE71C56 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_SeatC__SeatC__7BDB408F | SeatCategoryId ↗ ❏ CNF_SeatCategory | |
| FK__CNF_SeatC__SiteI__7CCF64C8 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_SeatC__UserG__7DC38901 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_SeatC__UserI__7EB7AD3A | UserId ↗ ❏ CNF_User | |
| FK__CNF_SeatC__Works__7FABD173 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_SeatCategory_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeatCategory_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatLayoutId | int IDENTITY |
| * | AccessConfigurationId | int |
| Name | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Seat__74BFA3AEC1EB8BD9 | Primary Key ON SeatLayoutId | |
| Foreign Key | ||
| FK__CNF_SeatL__Acces__009FF5AC | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK_CNF_SeatLayout_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeatLayout_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_SeatL__SeatL__04708690 | SeatLayoutId ↙ ❏ CNF_SeatLayoutItem | |
| FK__CNF_Space__SeatL__168F36CB | SeatLayoutId ↙ ❏ CNF_SpaceStructure_OLD | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatLayout2TemplateId | int IDENTITY |
| * | SeatTemplateId | int |
| * | SeatLayoutItemID | int |
| Category | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Seat__92D298734F225A6A | Primary Key ON SeatLayout2TemplateId | |
| Foreign Key | ||
| FK__CNF_SeatL__SeatL__019419E5 | SeatLayoutItemID ↗ ❏ CNF_SeatLayoutItem | |
| FK__CNF_SeatL__SeatT__02883E1E | SeatTemplateId ↗ ❏ CNF_SeatTemplate | |
| FK_CNF_SeatLayout2Template_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeatLayout2Template_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatLayoutItemID | int IDENTITY |
| * | SeatLayoutId | int |
| * | SpaceStructureId | int |
| * | MapId | int |
| * | SectorId | int |
| * | EnvelopeId | int |
| * | QualityId | int |
| * | Category | int |
| * | SeatNumber | int |
| * | RowLabel | varchar(10) COLLATE Latin1_General_CI_AS |
| * | ColLabel | varchar(10) COLLATE Latin1_General_CI_AS |
| * | Status | int |
| * | FlagInfo | int |
| * | Weight | int |
| * | SectorWeight | int |
| * | MinAlloacation | int |
| * | MaxAllocation | int |
| * | ClientId | int |
| Attribute1 | int | |
| Attribute2 | int | |
| Attribute3 | int | |
| Attribute4 | int | |
| * | X | int |
| * | Y | int |
| * | Z | int |
| * | Rotation | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Seat__ADE776BA641BA053 | Primary Key ON SeatLayoutItemID | |
| Foreign Key | ||
| FK__CNF_SeatL__SeatL__04708690 | SeatLayoutId ↗ ❏ CNF_SeatLayout | |
| FK__CNF_SeatL__Space__0564AAC9 | SpaceStructureId ↗ ❏ CNF_SpaceStructure_OLD | |
| FK_CNF_SeatLayoutItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeatLayoutItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_SeatL__SeatL__019419E5 | SeatLayoutItemID ↙ ❏ CNF_SeatLayout2Template | |
| FK__CNF_Perfo__SeatL__485B9C89 | SeatLayoutItemID ↙ ❏ CNF_PerformanceSeat | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatObjectId | int IDENTITY |
| * | SpaceStructureId | int |
| PerformanceId | int | |
| * | SeatObjectType | smallint |
| BackgroundColor | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| TextColor | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | Row | int |
| * | Col | int |
| * | NumRow | smallint DEFAULT 1 |
| * | NumCol | smallint DEFAULT 1 |
| LabelText | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Seat__6B393C18308E645F | Primary Key ON SeatObjectId | |
| Foreign Key | ||
| FK_CNF_SeatObject_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeatObject_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_SeatObject_PerformanceId | PerformanceId ↗ ❏ CNF_Performance | |
| FK_CNF_SeatObject_SpaceStructureId | SpaceStructureId ↗ ❏ CNF_SpaceStructure | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatPerformanceId | int IDENTITY |
| * | SeatId | int |
| * | PerformanceId | int |
| * | Status | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Seat__A6C6781D0B87FA7C | Primary Key ON SeatPerformanceId | |
| Foreign Key | ||
| FK__CNF_SeatP__Perfo__0658CF02 | PerformanceId ↗ ❏ CNF_Performance | |
| FK__CNF_SeatP__SeatI__074CF33B | SeatId ↗ ❏ CNF_Seat | |
| FK_CNF_SeatPerformance_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeatPerformance_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SeatTemplateId | int IDENTITY |
| * | AccessConfigurationId | int |
| * | Name | nvarchar(30) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Seat__82DEA8EA9C649827 | Primary Key ON SeatTemplateId | |
| Foreign Key | ||
| FK__CNF_SeatT__Acces__08411774 | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK_CNF_SeatTemplate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SeatTemplate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_SeatL__SeatT__02883E1E | SeatTemplateId ↙ ❏ CNF_SeatLayout2Template | |
| FK__CNF_Space__SeatT__17835B04 | SeatTemplateId ↙ ❏ CNF_SpaceStructure_OLD | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartValidationId | int IDENTITY |
| * | ShopCartValidationAK | nvarchar(32) COLLATE Latin1_General_CI_AS |
| * | ShopCartValidationCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | ShopCartValidationName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| ShopCartValidationDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | ShopCartValidationType | smallint DEFAULT 1 |
| Indexes | ||
| PK__CNF_Shop__184906640B509788 | Primary Key ON ShopCartValidationId | |
| Foreign Key | ||
| FK_CNF_ShopCartValidation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ShopCartValidation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fk_CNF_ShopCartValidationItem_ShopCartValidationId | ShopCartValidationId ↙ ❏ CNF_ShopCartValidationItem | |
| fk_CNF_ShopCartValidation_Permission_ShopCartValidationId | ShopCartValidationId ↙ ❏ CNF_ShopCartValidation_Permission | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartValidationItemId | int IDENTITY |
| * | ShopCartValidationId | int |
| * | MinQty | int |
| * | MaxQty | int |
| * | ValidationType | smallint |
| * | ShopCartValidationItemAK | nvarchar(32) COLLATE Latin1_General_CI_AS |
| Phase_Add | smallint | |
| Phase_Upsell | smallint | |
| Phase_BeforeCheckout | smallint | |
| Phase_Checkout | smallint | |
| DmgCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Shop__8DC77D270DCE071C | Primary Key ON ShopCartValidationItemId | |
| Foreign Key | ||
| fk_CNF_ShopCartValidationItem_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_ShopCartValidationItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ShopCartValidationItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_ShopCartValidationItem_ShopCartValidationId | ShopCartValidationId ↗ ❏ CNF_ShopCartValidation | |
| Referring Foreign Key | ||
| fk_CNF_ShopCartValidationItem2Event_ShopCartValidationItemId | ShopCartValidationItemId ↙ ❏ CNF_ShopCartValidationItem2Event | |
| fk_CNF_ShopCartValidationItem2MatrixCell_ShopCartValidationItemId | ShopCartValidationItemId ↙ ❏ CNF_ShopCartValidationItem2MatrixCell | |
| fk_CNF_ShopCartValidationItem2StatisticalGroup_ShopCartValidationItemId | ShopCartValidationItemId ↙ ❏ CNF_ShopCartValidationItem2StatisticalGroup | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartValidationItem2EventId | int IDENTITY |
| * | ShopCartValidationItemId | int |
| * | EventId | int |
| Target | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Shop__B45931BC5A88D626 | Primary Key ON ShopCartValidationItem2EventId | |
| Foreign Key | ||
| FK_CNF_ShopCartValidationItem2Event_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ShopCartValidationItem2Event_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_ShopCartValidationItem2Event_ShopCartValidationItemId | ShopCartValidationItemId ↗ ❏ CNF_ShopCartValidationItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartValidationItem2MatrixCellId | int IDENTITY |
| * | ShopCartValidationItemId | int |
| * | MatrixCellId | int |
| Target | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Shop__69F9DA3DA31BFA43 | Primary Key ON ShopCartValidationItem2MatrixCellId | |
| Foreign Key | ||
| FK_CNF_ShopCartValidationItem2MatrixCell_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ShopCartValidationItem2MatrixCell_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_ShopCartValidationItem2MatrixCell_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| fk_CNF_ShopCartValidationItem2MatrixCell_ShopCartValidationItemId | ShopCartValidationItemId ↗ ❏ CNF_ShopCartValidationItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartValidationItem2StatisticalGroupId | int IDENTITY |
| * | ShopCartValidationItemId | int |
| * | StatisticalGroupId | int |
| Target | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Shop__D8463C05E84AA38D | Primary Key ON ShopCartValidationItem2StatisticalGroupId | |
| Foreign Key | ||
| FK_CNF_ShopCartValidationItem2StatisticalGroup_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ShopCartValidationItem2StatisticalGroup_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_ShopCartValidationItem2StatisticalGroup_ShopCartValidationItemId | ShopCartValidationItemId ↗ ❏ CNF_ShopCartValidationItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartValidationPermissionID | int IDENTITY |
| * | ShopCartValidationId | int |
| UserGroupId | int | |
| UserId | int | |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| * | Allow | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Shop__0AF629833FB01F16 | Primary Key ON ShopCartValidationPermissionID | |
| Foreign Key | ||
| FK_CNF_ShopCartValidation_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_ShopCartValidation_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_ShopCartValidation_Permission_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| fk_CNF_ShopCartValidation_Permission_ShopCartValidationId | ShopCartValidationId ↗ ❏ CNF_ShopCartValidation | |
| fk_CNF_ShopCartValidation_Permission_SiteId | SiteId ↗ ❏ CNF_Site | |
| fk_CNF_ShopCartValidation_Permission_UserGroupId | UserGroupId ↗ ❏ CNF_UserGroup | |
| fk_CNF_ShopCartValidation_Permission_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SiteId | int |
| * | SystemId | int |
| SiteAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| * | SiteCode | varchar(3) COLLATE Latin1_General_CI_AS |
| * | SiteName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| SiteDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint |
| DmgCategoryId | int | |
| ProdWebAddress | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ExternalCode | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Site__B9DCB963B3034392 | Primary Key ON SiteId | |
| UQ__CNF_Site__A12A33672CFAF9C7 | Unique Key ON SiteCode | |
| Foreign Key | ||
| FK__CNF_Site__System__09353BAD | SystemId ↗ ❏ CNF_System | |
| fk_CNF_Site_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_Site_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Site_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__SiteI__03524525 | SiteId ↙ ❏ CNF_MatrixCellPermission | |
| FK_Donation_Permission_SiteId | SiteId ↙ ❏ CNF_Donation_Permission | |
| FK_Trigger_Permission_SiteId | SiteId ↙ ❏ CNF_Trigger_Permission | |
| FK__DATA_Tran__SiteI__6F0B5556 | SiteId ↙ ❏ DATA_TransactionItem | |
| fk_CNF_ShopCartValidation_Permission_SiteId | SiteId ↙ ❏ CNF_ShopCartValidation_Permission | |
| FK_DATA_Product_SiteId | SiteId ↙ ❏ DATA_Product | |
| FK__CNF_Locat__SiteI__0876219E | SiteId ↙ ❏ CNF_Location | |
| FK__CNF_SeatC__SiteI__7CCF64C8 | SiteId ↙ ❏ CNF_SeatCategory_Permission | |
| FK_RR_DATA_Revenue_CNF_Site_SiteId | SiteId ↙ ❏ RR_DATA_Revenue | |
| FK__CNF_CostC__SiteI__1BBE003C | SiteId ↙ ❏ CNF_CostCenter_Validity | |
| FK_CNF_Performance_SaleValidity_SiteId | SiteId ↙ ❏ CNF_Performance_SaleValidity | |
| FK__CNF_Perfo__SiteI__2B60367F | SiteId ↙ ❏ CNF_Performance_Permission | |
| FK__CNF_Site___Login__0C11A858 | SiteId ↙ ❏ CNF_Site_LoginPermission(LoginSiteId) | |
| FK__CNF_Site___SiteI__0DF9F0CA | SiteId ↙ ❏ CNF_Site_LoginPermission | |
| FK__CNF_Deliv__SiteI__2E279491 | SiteId ↙ ❏ CNF_Delivery_Permission | |
| FK_STAT_Product_SiteId | SiteId ↙ ❏ STAT_Product | |
| FK_CNF_TicketPackageGroupPermission_SiteId | SiteId ↙ ❏ CNF_TicketPackageGroupPermission | |
| FK_STAT_CostCenter_SiteId | SiteId ↙ ❏ STAT_CostCenter | |
| FK_STAT_StatisticalGroup_SiteId | SiteId ↙ ❏ STAT_StatisticalGroup | |
| FK_STAT_CreditCard_SiteId | SiteId ↙ ❏ STAT_CreditCard | |
| FK_STAT_Payment_SiteId | SiteId ↙ ❏ STAT_Payment | |
| FK_STAT_Admission_SiteId | SiteId ↙ ❏ STAT_Admission | |
| FK__CNF_Matri__SiteI__29D71569 | SiteId ↙ ❏ CNF_MatrixSheet_SaleValidity | |
| FK__CNF_Opera__SiteI__326C5B6A | SiteId ↙ ❏ CNF_OperatingArea | |
| Relationship1239 | SiteId ↙ ❏ STOCK_CNF_WarehouseAssign | |
| FK__CNF_DmgCa__SiteI__2BF46805 | SiteId ↙ ❏ CNF_DmgCategory_Permission | |
| FK__CNF_DocTe__SiteI__3B36AB95 | SiteId ↙ ❏ CNF_DocTemplate_Permission | |
| FK__CNF_Envel__SiteI__4B6D135E | SiteId ↙ ❏ CNF_Envelope_Permission | |
| FK__CNF_UpSel__SiteI__62906FD8 | SiteId ↙ ❏ CNF_UpSell_Permission | |
| FK__CNF_Venue__SiteI__37F02A96 | SiteId ↙ ❏ CNF_VenueMap | |
| FK__CNF_Event__SiteI__652CE561 | SiteId ↙ ❏ CNF_Event_Permission | |
| FK__CNF_Works__SiteI__3ACC9741 | SiteId ↙ ❏ CNF_Workstation | |
| FK__DATA_Sess__SiteI__41448AA6 | SiteId ↙ ❏ DATA_Session | |
| FK__CNF_ExtCa__SiteI__7192BC46 | SiteId ↙ ❏ CNF_ExtCardTypePermission | |
| fk_CNF_SuggestiveSell_Permission_SiteId | SiteId ↙ ❏ CNF_SuggestiveSell_Permission | |
| fkPromotionAssociation_Site | SiteId ↙ ❏ CNF_PromotionAssociation | |
| FK__DATA_Tick__SiteI__5733CBC5 | SiteId ↙ ❏ DATA_TicketStatusLog | |
| FK__CNF_Attri__SiteI__7B5130AA | SiteId ↙ ❏ CNF_Attribute_SaleValidity | |
| FK__CNF_Promo__SiteI__6403B6FE | SiteId ↙ ❏ CNF_PromotionPermission | |
| FK__DATA_Tran__SiteI__66760F55 | SiteId ↙ ❏ DATA_Transaction | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SiteLoginPermissionId | int IDENTITY |
| * | LoginSiteId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| DmgCategoryId | int | |
| AccountId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Site__3DEA2FF43B659E18 | Primary Key ON SiteLoginPermissionId | |
| Foreign Key | ||
| FK__CNF_Site___Accou__0A295FE6 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Site___DmgCa__0B1D841F | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Site___Login__0C11A858 | LoginSiteId ↗ ❏ CNF_Site(SiteId) | |
| FK__CNF_Site___Opera__0D05CC91 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Site___SiteI__0DF9F0CA | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_Site___UserG__0EEE1503 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_Site___UserI__0FE2393C | UserId ↗ ❏ CNF_User | |
| FK__CNF_Site___Works__10D65D75 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_Site_LoginPermission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Site_LoginPermission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SpaceStructureId | int IDENTITY |
| * | AccessConfigurationId | int |
| ParentId | int | |
| * | PriorityOrder | smallint |
| * | SpaceStructureType | smallint |
| * | Name | nvarchar(50) COLLATE Latin1_General_CI_AS |
| QuantityMin | int | |
| QuantityMax | int | |
| * | Enabled | smallint |
| Code | varchar(100) COLLATE Latin1_General_CI_AS | |
| * | IsSeat | smallint DEFAULT 0 |
| ExternalReference | varchar(10) COLLATE Latin1_General_CI_AS | |
| PerformanceId | int | |
| Temp_SpaceStructureId | int | |
| RecursiveName | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| SpaceStructureAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| DmgCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| BestSeatType | int | |
| Indexes | ||
| PK__CNF_Spac__81713F88CE2A108B | Primary Key ON SpaceStructureId | |
| idxCNF_SpaceStructure_AccessConfId_ExternalReference | Index ON AccessConfigurationId, ExternalReference | |
| IdxCNF_SpaceStructure_PerformanceId | Index ON PerformanceId | |
| idx_SpaceStructure_Type | Index ON SpaceStructureType | |
| idx_SpaceStructure_ParentId | Index ON ParentId | |
| idx_SpaceStructure_IsSeat | Index ON IsSeat | |
| idx_SpaceStructure_Ak | Index ON SpaceStructureAK | |
| Foreign Key | ||
| FK__CNF_Space__Acces__11CA81AE | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK__CNF_Space__Paren__12BEA5E7 | ParentId ↗ ❏ CNF_SpaceStructure(SpaceStructureId) | |
| FK__CNF_Space__Perfo__13B2CA20 | PerformanceId ↗ ❏ CNF_Performance | |
| fk_CNF_SpaceStructure_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_SpaceStructure_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SpaceStructure_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Seat__SpaceS__743A1EC7 | SpaceStructureId ↙ ❏ CNF_Seat | |
| FK__CNF_Space__Paren__12BEA5E7 | SpaceStructureId ↙ ❏ CNF_SpaceStructure(ParentId) | |
| FK_CNF_SeatObject_SpaceStructureId | SpaceStructureId ↙ ❏ CNF_SeatObject | |
| FK__CNF_Envel__Space__5125ECB4 | SpaceStructureId ↙ ❏ CNF_EnvelopeCapacity | |
| FK__SEAT_CNF___Space__4D755761 | SpaceStructureId ↙ ❏ SEAT_CNF_SpaceStructureSeat | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SpaceStructureId | int IDENTITY |
| SeatTemplateId | int | |
| SeatLayoutId | int | |
| ParentId | int | |
| * | AccessConfigurationId | int |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| MinAvailable | int | |
| MaxAvailable | int | |
| * | ItemType | smallint |
| SortOrder | int | |
| Attributes | ntext COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Spac__81713F8874DB5629 | Primary Key ON SpaceStructureId | |
| Foreign Key | ||
| FK__CNF_Space__Acces__14A6EE59 | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK__CNF_Space__Paren__159B1292 | ParentId ↗ ❏ CNF_SpaceStructure_OLD(SpaceStructureId) | |
| FK__CNF_Space__SeatL__168F36CB | SeatLayoutId ↗ ❏ CNF_SeatLayout | |
| FK__CNF_Space__SeatT__17835B04 | SeatTemplateId ↗ ❏ CNF_SeatTemplate | |
| Referring Foreign Key | ||
| FK__CNF_SeatL__Space__0564AAC9 | SpaceStructureId ↙ ❏ CNF_SeatLayoutItem | |
| FK__CNF_Space__Paren__159B1292 | SpaceStructureId ↙ ❏ CNF_SpaceStructure_OLD(ParentId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatisticalGroupId | int IDENTITY |
| * | StatisticalGroupCode | varchar(10) COLLATE Latin1_General_CI_AS |
| StatisticalGroupDescription | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| ParentId | int | |
| * | Position | int |
| * | Level | int |
| * | Enabled | smallint DEFAULT 1 |
| * | StatisticalGroupAK | varchar(32) COLLATE Latin1_General_CI_AS |
| DmgCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | HasCalendar | smallint DEFAULT 0 |
| CalendarEventId | int | |
| EventIdList | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| AttributeTemplateId | int | |
| Indexes | ||
| PK__CNF_Stat__71B6DE25B06E0339 | Primary Key ON StatisticalGroupId | |
| Foreign Key | ||
| FK__CNF_Stati__DmgCa__47C76B03 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Stati__Paren__18777F3D | ParentId ↗ ❏ CNF_StatisticalGroup(StatisticalGroupId) | |
| FK_CNF_StatisticalGroup_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_StatisticalGroup_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_STAT_StatisticalGroup_StatisticalGroupId | StatisticalGroupId ↙ ❏ STAT_StatisticalGroup | |
| FK__CNF_Stati__Paren__18777F3D | StatisticalGroupId ↙ ❏ CNF_StatisticalGroup(ParentId) | |
| FK__CNF_Stati__Stati__1A5FC7AF | StatisticalGroupId ↙ ❏ CNF_StatisticalGroupValidity | |
| FK_CNF_StatisticalGroup2Promotion_StatisticalGroupId | StatisticalGroupId ↙ ❏ CNF_StatisticalGroup2Promotion | |
| fk_CNF_SuggestiveSell2StatisticalGroup_StatisticalGroupId | StatisticalGroupId ↙ ❏ CNF_SuggestiveSell2StatisticalGroup | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatisticalGroup2PromotionId | int IDENTITY |
| * | PromotionId | int |
| * | StatisticalGroupId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Stat__FBBDDE1D413924F5 | Primary Key ON StatisticalGroup2PromotionId | |
| Foreign Key | ||
| FK_CNF_StatisticalGroup2Promotion_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_StatisticalGroup2Promotion_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_StatisticalGroup2Promotion_PromotionId | PromotionId ↗ ❏ CNF_Promotion | |
| FK_CNF_StatisticalGroup2Promotion_StatisticalGroupId | StatisticalGroupId ↗ ❏ CNF_StatisticalGroup | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatisticalGroupValidityId | int IDENTITY |
| * | StatisticalGroupId | int |
| * | MatrixCellId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Stat__8450392B22F19B7B | Primary Key ON StatisticalGroupValidityId | |
| idx_StatGroupVal_MCId | Index ON MatrixCellId | |
| idx_StatGroupVal_Id | Index ON StatisticalGroupId | |
| Foreign Key | ||
| FK__CNF_Stati__Matri__196BA376 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__CNF_Stati__Stati__1A5FC7AF | StatisticalGroupId ↗ ❏ CNF_StatisticalGroup | |
| FK_CNF_StatisticalGroupValidity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_StatisticalGroupValidity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SubscriptionId | int IDENTITY |
| * | SystemId | int |
| AccountId | int | |
| DmgCategoryId | int | |
| AttributeTemplateId | int | |
| * | SubscriptionAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | SubscriptionType | smallint |
| * | SubscriptionCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | SubscriptionName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| SubscriptionTitle | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Status | smallint |
| * | StartDate | datetime |
| * | EndDate | datetime |
| MinPerformance | int | |
| MaxPerformance | int | |
| LocationId | int | |
| Package | smallint | |
| * | Weight | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Note | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Subs__9A2B249DBE2F9534 | Primary Key ON SubscriptionId | |
| Foreign Key | ||
| FK__CNF_Subsc__Accou__1B53EBE8 | AccountId ↗ ❏ DATA_Account | |
| FK__CNF_Subsc__Attri__1C481021 | AttributeTemplateId ↗ ❏ CNF_AttributeTemplate | |
| FK__CNF_Subsc__DmgCa__1D3C345A | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_Subsc__Locat__1E305893 | LocationId ↗ ❏ CNF_Location | |
| FK__CNF_Subsc__Syste__1F247CCC | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Subscription_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Subscription_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Subsc__Subsc__2200E977 | SubscriptionId ↙ ❏ CNF_Subscription2Performance | |
| FK_CNF_PerformanceCategoryValidity_SubscriptionId | SubscriptionId ↙ ❏ CNF_PerformanceCategoryValidity | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Subscription2PerformanceId | int IDENTITY |
| * | SubscriptionId | int |
| * | EventId | int |
| * | PerformanceId | int |
| Fixed | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Subs__3DBCF47459EE1CD4 | Primary Key ON Subscription2PerformanceId | |
| Idx_CNF_Sub2Perf_PerformanceId | Index ON PerformanceId | |
| Foreign Key | ||
| FK__CNF_Subsc__Event__2018A105 | EventId ↗ ❏ CNF_Event | |
| FK__CNF_Subsc__Perfo__210CC53E | PerformanceId ↗ ❏ CNF_Performance | |
| FK__CNF_Subsc__Subsc__2200E977 | SubscriptionId ↗ ❏ CNF_Subscription | |
| FK_CNF_Subscription2Performance_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Subscription2Performance_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SuggestiveSellId | int IDENTITY |
| DmgCategoryId | int | |
| SuggestiveSellAK | nvarchar(32) COLLATE Latin1_General_CI_AS | |
| Code | varchar(10) COLLATE Latin1_General_CI_AS | |
| Name | varchar(50) COLLATE Latin1_General_CI_AS | |
| Description | varchar(100) COLLATE Latin1_General_CI_AS | |
| Enabled | smallint | |
| Step | int | |
| SortOrder | int | |
| FixedQuantity | smallint | |
| SameDay | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| NDaysBefore | int | |
| NDaysAfter | int | |
| Indexes | ||
| PK__CNF_Sugg__29B8834BCFBB6877 | Primary Key ON SuggestiveSellId | |
| Foreign Key | ||
| fk_CNF_SuggestiveSell_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_SuggestiveSell_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SuggestiveSell_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fk_CNF_SuggestiveSell_Permission_SuggestiveSellId | SuggestiveSellId ↙ ❏ CNF_SuggestiveSell_Permission | |
| fk_CNF_SuggestiveSell2Event_SuggestiveSellId | SuggestiveSellId ↙ ❏ CNF_SuggestiveSell2Event | |
| fk_CNF_SuggestiveSell2MatrixCell_SuggestiveSellId | SuggestiveSellId ↙ ❏ CNF_SuggestiveSell2MatrixCell | |
| fk_CNF_SuggestiveSell2StatisticalGroup_SuggestiveSellId | SuggestiveSellId ↙ ❏ CNF_SuggestiveSell2StatisticalGroup | |
| fk_CNF_SuggestiveSell2EventCategory_SuggestiveSellId | SuggestiveSellId ↙ ❏ CNF_SuggestiveSell2EventCategory | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SuggestiveSell2EventId | int IDENTITY |
| * | SuggestiveSellId | int |
| * | EventId | int |
| Target | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Sugg__CD14A5A38C0A72B6 | Primary Key ON SuggestiveSell2EventId | |
| Foreign Key | ||
| fk_CNF_SuggestiveSell2Event_EventId | EventId ↗ ❏ CNF_Event | |
| FK_CNF_SuggestiveSell2Event_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SuggestiveSell2Event_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_SuggestiveSell2Event_SuggestiveSellId | SuggestiveSellId ↗ ❏ CNF_SuggestiveSell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SuggestiveSell2EventCategoryId | int IDENTITY |
| Target | smallint | |
| * | SuggestiveSellId | int |
| * | PerformanceCategoryId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Sugg__27C8D8AD89261100 | Primary Key ON SuggestiveSell2EventCategoryId | |
| Foreign Key | ||
| FK_CNF_SuggestiveSell2EventCategory_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SuggestiveSell2EventCategory_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_SuggestiveSell2EventCategory_PerformanceCategoryId | PerformanceCategoryId ↗ ❏ CNF_PerformanceCategory | |
| fk_CNF_SuggestiveSell2EventCategory_SuggestiveSellId | SuggestiveSellId ↗ ❏ CNF_SuggestiveSell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SuggestiveSell2MatrixCellId | int IDENTITY |
| * | SuggestiveSellId | int |
| * | MatrixCellId | int |
| Target | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Sugg__BB4883191CDC61AA | Primary Key ON SuggestiveSell2MatrixCellId | |
| Foreign Key | ||
| FK_CNF_SuggestiveSell2MatrixCell_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SuggestiveSell2MatrixCell_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_SuggestiveSell2MatrixCell_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| fk_CNF_SuggestiveSell2MatrixCell_SuggestiveSellId | SuggestiveSellId ↗ ❏ CNF_SuggestiveSell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SuggestiveSell2StatisticalGroupId | int IDENTITY |
| * | SuggestiveSellId | int |
| * | StatisticalGroupId | int |
| Target | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Sugg__3888EC44399F6421 | Primary Key ON SuggestiveSell2StatisticalGroupId | |
| Foreign Key | ||
| FK_CNF_SuggestiveSell2StatisticalGroup_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SuggestiveSell2StatisticalGroup_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_SuggestiveSell2StatisticalGroup_StatisticalGroupId | StatisticalGroupId ↗ ❏ CNF_StatisticalGroup | |
| fk_CNF_SuggestiveSell2StatisticalGroup_SuggestiveSellId | SuggestiveSellId ↗ ❏ CNF_SuggestiveSell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SuggestiveSellPermissionId | int IDENTITY |
| * | SuggestiveSellId | int |
| UserGroupId | int | |
| UserId | int | |
| WorkstationId | int | |
| OperatingAreaId | int | |
| SiteId | int | |
| * | Allow | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Sugg__F53E125DFB5A906F | Primary Key ON SuggestiveSellPermissionId | |
| Foreign Key | ||
| FK_CNF_SuggestiveSell_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_SuggestiveSell_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_SuggestiveSell_Permission_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| fk_CNF_SuggestiveSell_Permission_SiteId | SiteId ↗ ❏ CNF_Site | |
| fk_CNF_SuggestiveSell_Permission_SuggestiveSellId | SuggestiveSellId ↗ ❏ CNF_SuggestiveSell | |
| fk_CNF_SuggestiveSell_Permission_UserGroupId | UserGroupId ↗ ❏ CNF_UserGroup | |
| fk_CNF_SuggestiveSell_Permission_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SurveyId | int IDENTITY |
| DmgCategoryId | int | |
| * | SurveyType | smallint |
| * | SurveyName | nvarchar(100) COLLATE Latin1_General_CI_AS |
| Frequency | int | |
| * | Enabled | smallint |
| AskOnShopCartAdd | smallint | |
| * | SurveyDmgType | int DEFAULT 14 |
| * | Mandatory | smallint DEFAULT 0 |
| * | SurveyAK | nvarchar(38) COLLATE Latin1_General_CI_AS DEFAULT newid() |
| * | ReservationExclusive | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DocTemplateId | int | |
| Indexes | ||
| PK__CNF_Surv__A5481F7D8ADDA6A4 | Primary Key ON SurveyId | |
| Foreign Key | ||
| FK__CNF_Surve__DmgCa__22F50DB0 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_Survey_DocTemplateId | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK_CNF_Survey_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Survey_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__Surve__1E6562BD | SurveyId ↙ ❏ CNF_MatrixCellInfo | |
| FK__DATA_Surv__Surve__4BC21919 | SurveyId ↙ ❏ DATA_SurveyItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SystemId | int |
| * | SystemCode | varchar(3) COLLATE Latin1_General_CI_AS |
| * | SystemOwner | nvarchar(50) COLLATE Latin1_General_CI_AS |
| SystemAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint |
| * | DbId | smallint |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | OfflineMode | smallint |
| * | SiaeMode | smallint |
| WorkstationId | int | |
| WebEnabled | smallint | |
| * | PADSSMode | smallint |
| ProdHostname | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| ProdDatabaseName | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | SoccerMode | smallint |
| * | CostTaxExcluded | smallint |
| ProdWebAddress | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| DmgCategoryId | int | |
| RRStartDate | datetime | |
| * | RRTransDateType | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | XMLHistoryLogEnabled | smallint DEFAULT 1 |
| * | BOSHistoryLogEnabled | smallint DEFAULT 1 |
| MixedTransactionMode | smallint | |
| WorkstationOfflineSync | int | |
| DecryptAccountCard | smallint | |
| GiftAidEnabled | smallint | |
| Indexes | ||
| PK__CNF_Syst__9394F68A54F6B81E | Primary Key ON SystemId | |
| UQ__CNF_Syst__0936B432515D9C8A | Unique Key ON SystemCode | |
| Foreign Key | ||
| fk_CNF_System_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_System_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_System_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkCNF_System_Workstation | WorkstationId ↗ ❏ CNF_Workstation | |
| Referring Foreign Key | ||
| FK__CNF_FundT__Syste__01C9240F | SystemId ↙ ❏ CNF_FundType | |
| FK__CNF_Board__Syste__05CEBF1D | SystemId ↙ ❏ CNF_BoardPackage | |
| FK__CNF_Round__Syste__6C98FCFF | SystemId ↙ ❏ CNF_RoundingRule | |
| FK__DATA_Tran__Syste__6FFF798F | SystemId ↙ ❏ DATA_TransactionItem | |
| FK__CNF_Calen__Syste__06C2E356 | SystemId ↙ ❏ CNF_Calendar | |
| FK__SIAE_Card__Syste__4E697B9A | SystemId ↙ ❏ SIAE_Card | |
| FK__CNF_Licen__Syste__068DD92C | SystemId ↙ ❏ _CNF_License | |
| FK__CNF_Locat__Syste__096A45D7 | SystemId ↙ ❏ CNF_Location | |
| FK__CNF_Mask__System__0D3AD6BB | SystemId ↙ ❏ CNF_Mask | |
| FK__CNF_Site__System__09353BAD | SystemId ↙ ❏ CNF_Site | |
| FK__CNF_Curre__Syste__1DA648AE | SystemId ↙ ❏ CNF_Currency | |
| FK_STAT_Product_SystemId | SystemId ↙ ❏ STAT_Product | |
| FK_STAT_CostCenter_SystemId | SystemId ↙ ❏ STAT_CostCenter | |
| FK_STAT_StatisticalGroup_SystemId | SystemId ↙ ❏ STAT_StatisticalGroup | |
| FK_STAT_CreditCard_SystemId | SystemId ↙ ❏ STAT_CreditCard | |
| FK_STAT_Payment_SystemId | SystemId ↙ ❏ STAT_Payment | |
| FK_STAT_Admission_SystemId | SystemId ↙ ❏ STAT_Admission | |
| FK__CNF_Subsc__Syste__1F247CCC | SystemId ↙ ❏ CNF_Subscription | |
| FK__CNF_Devic__Syste__263B8EAF | SystemId ↙ ❏ CNF_Device | |
| FK__CNF_Opera__Syste__33607FA3 | SystemId ↙ ❏ CNF_OperatingArea | |
| FK__CNF_DocRe__Syste__339589CD | SystemId ↙ ❏ CNF_DocRepository | |
| FK__CNF_DocTe__Syste__3671F678 | SystemId ↙ ❏ CNF_DocTemplate | |
| FK__CNF_Tax__SystemI__29A20B3F | SystemId ↙ ❏ CNF_Tax | |
| FK__DATA_Sale__Syste__18427513 | SystemId ↙ ❏ DATA_Sale | |
| FK__CNF_Drive__Syste__43CBF196 | SystemId ↙ ❏ CNF_Driver | |
| FK__CNF_TaxPa__Syste__2F5AE495 | SystemId ↙ ❏ CNF_TaxPackage | |
| FK__CNF_Envel__Syste__46A85E41 | SystemId ↙ ❏ CNF_Envelope | |
| FK__CNF_Price__Syste__494FC0C2 | SystemId ↙ ❏ CNF_PriceList | |
| FK__CNF_User__System__3513BDEB | SystemId ↙ ❏ CNF_User | |
| FK__CNF_Produ__Syste__4C2C2D6D | SystemId ↙ ❏ CNF_Producer | |
| FK_CNF_UserGroup_SystemId | SystemId ↙ ❏ CNF_UserGroup | |
| FK__CNF_Event__Syste__5F740C0B | SystemId ↙ ❏ CNF_Event | |
| FK__CNF_Produ__Syste__4F089A18 | SystemId ↙ ❏ CNF_ProductValidity | |
| FK__DATA_Sess__Syste__4238AEDF | SystemId ↙ ❏ DATA_Session | |
| FK__CNF_Exter__Syste__774B959C | SystemId ↙ ❏ CNF_ExternalCardType | |
| FK__CNF_Exter__Syste__783FB9D5 | SystemId ↙ ❏ CNF_ExternalMediaType | |
| FK__CNF_Attri__Syste__02F25272 | SystemId ↙ ❏ CNF_AttributeTemplate | |
| FK__DATA_Tran__Syste__676A338E | SystemId ↙ ❏ DATA_Transaction | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TagId | int IDENTITY |
| * | TagName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| EntityTableFilter | smallint | |
| * | InsDateTime | datetime |
| * | WorkstationId | int |
| * | UserId | int |
| Indexes | ||
| PK__CNF_Tag__657CF9ACFAD45BD7 | Primary Key ON TagId | |
| Foreign Key | ||
| FK__CNF_Tag__UserId__24DD5622 | UserId ↗ ❏ CNF_User | |
| FK__CNF_Tag__Worksta__25D17A5B | WorkstationId ↗ ❏ CNF_Workstation | |
| Referring Foreign Key | ||
| FK__CNF_Tag2E__TagId__26C59E94 | TagId ↙ ❏ CNF_Tag2Entity | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Tag2EntityId | int IDENTITY |
| * | TagId | int |
| * | EntityTable | smallint |
| * | EntityId | int |
| * | InsDateTime | datetime |
| * | WorkstationId | int |
| * | UserId | int |
| Indexes | ||
| PK__CNF_Tag2__CF89430033397D2C | Primary Key ON Tag2EntityId | |
| UQ_Tag2Entity_Entity | Unique Index ON TagId, EntityTable, EntityId | |
| IDX_Tag2Entity_Entity | Index ON EntityTable, EntityId | |
| Foreign Key | ||
| FK__CNF_Tag2E__TagId__26C59E94 | TagId ↗ ❏ CNF_Tag | |
| FK__CNF_Tag2E__UserI__27B9C2CD | UserId ↗ ❏ CNF_User | |
| FK__CNF_Tag2E__Works__28ADE706 | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TaskStatusId | int IDENTITY |
| * | Code | nchar(20) COLLATE Latin1_General_CI_AS |
| Description | nchar(50) COLLATE Latin1_General_CI_AS | |
| Notify | smallint | |
| * | SortOrder | int |
| Enabled | smallint | |
| IsSystem | smallint | |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Completed | smallint DEFAULT 0 |
| Indexes | ||
| PK__CNF_Task__C023DD6C4B5DF922 | Primary Key ON TaskStatusId | |
| IX_CNF_TaskStatus_Code | Unique Index ON Code | |
| IX_CNF_TaskStatus_SortOrder | Index ON SortOrder, Code | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TaxId | int IDENTITY |
| * | SystemId | int |
| * | TaxCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | TaxName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | TaxType | smallint |
| * | TaxValue | float |
| TaxCap | float | |
| TaxFloor | float | |
| * | RoundingType | smallint |
| * | RoundingGroup | smallint |
| * | Rounding | int |
| * | Decimals | int |
| * | Remboursable | smallint |
| * | TaxExemptable | smallint |
| AppliedFrom | float | |
| AppliedTo | float | |
| COAAccountId | int | |
| ApplyTaxOnZeroTicketAmount | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Tax__711BE0AC201514F1 | Primary Key ON TaxId | |
| UQ_Tax_TaxCode | Unique Index ON SystemId, TaxCode | |
| Foreign Key | ||
| FK__CNF_Tax__SystemI__29A20B3F | SystemId ↗ ❏ CNF_System | |
| FK_CNF_Tax_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Tax_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_CNF_TAX_Transaction | TaxId ↙ ❏ DATA_TransactionTax | |
| FK__CNF_Tax2L__TaxId__2B8A53B1 | TaxId ↙ ❏ CNF_Tax2Location | |
| FK__CNF_Tax2P__TaxId__2C7E77EA | TaxId ↙ ❏ CNF_Tax2Package | |
| FK_CNF_TAX_SALE | TaxId ↙ ❏ DATA_SaleTax | |
| FK_DATA_SaleItemTax_Tax | TaxId ↙ ❏ DATA_SaleItemTax | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Tax2LocationId | int |
| * | TaxId | int |
| * | LocationId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Tax2__2262C1C01D150B2E | Primary Key ON Tax2LocationId | |
| Foreign Key | ||
| FK__CNF_Tax2L__Locat__2A962F78 | LocationId ↗ ❏ CNF_Location | |
| FK__CNF_Tax2L__TaxId__2B8A53B1 | TaxId ↗ ❏ CNF_Tax | |
| FK_CNF_Tax2Location_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Tax2Location_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Tax2PackageId | int IDENTITY |
| * | TaxPackageId | int |
| * | TaxId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| TaxPercentage | float | |
| Indexes | ||
| PK__CNF_Tax2__F2515FA9BEC8F389 | Primary Key ON Tax2PackageId | |
| Foreign Key | ||
| FK__CNF_Tax2P__TaxId__2C7E77EA | TaxId ↗ ❏ CNF_Tax | |
| FK__CNF_Tax2P__TaxPa__2D729C23 | TaxPackageId ↗ ❏ CNF_TaxPackage | |
| FK_CNF_Tax2Package_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Tax2Package_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TaxPackageId | int IDENTITY |
| * | SystemId | int |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| TaxFunction | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | TaxPackageAK | nvarchar(38) COLLATE Latin1_General_CI_AS DEFAULT newid() |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_TaxP__58F5B8BBCF64B4AC | Primary Key ON TaxPackageId | |
| Foreign Key | ||
| FK__CNF_TaxPa__Syste__2F5AE495 | SystemId ↗ ❏ CNF_System | |
| FK_CNF_TaxPackage_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_TaxPackage_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_SIAE_Event_TaxPackageId | TaxPackageId ↙ ❏ SIAE_Event | |
| FK_DATA_Product_TaxPackageId | TaxPackageId ↙ ❏ DATA_Product | |
| FK__CNF_Matri__TaxPa__18AC8967 | TaxPackageId ↙ ❏ CNF_MatrixCell | |
| FK__CNF_Tax2P__TaxPa__2D729C23 | TaxPackageId ↙ ❏ CNF_Tax2Package | |
| FK__CNF_Produ__TaxPa__4E1475DF | TaxPackageId ↙ ❏ CNF_Product | |
| FK__DATA_Tick__TaxPa__517AF26F | TaxPackageId ↙ ❏ DATA_Ticket | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketPackageGroupId | int IDENTITY |
| * | Code | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Note | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Tick__DB61F65EEB06D2AB | Primary Key ON TicketPackageGroupId | |
| Foreign Key | ||
| FK_CNF_TicketPackageGroup_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_TicketPackageGroup_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DATA_TicketPackage2Group_TicketGroupId | TicketPackageGroupId ↙ ❏ DATA_TicketPackage2Group | |
| FK_CNF_TicketPackageGroupPermission_TicketPackageGroupId | TicketPackageGroupId ↙ ❏ CNF_TicketPackageGroupPermission | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketPackageGroupPermissionId | int IDENTITY |
| * | TicketPackageGroupId | int |
| SiteId | int | |
| WorkstationId | int | |
| UserId | int | |
| UserGroupId | int | |
| AccountId | int | |
| OperatingAreaId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Tick__BAA9A765212D6DFB | Primary Key ON TicketPackageGroupPermissionId | |
| Foreign Key | ||
| FK_CNF_TicketPackageGroupPermission_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_CNF_TicketPackageGroupPermission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_TicketPackageGroupPermission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_TicketPackageGroupPermission_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_CNF_TicketPackageGroupPermission_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_CNF_TicketPackageGroupPermission_TicketPackageGroupId | TicketPackageGroupId ↗ ❏ CNF_TicketPackageGroup | |
| FK_CNF_TicketPackageGroupPermission_UserGroupId | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK_CNF_TicketPackageGroupPermission_UserId | UserId ↗ ❏ CNF_User | |
| FK_CNF_TicketPackageGroupPermission_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TimeSlotId | int IDENTITY |
| * | FromTime | datetime |
| * | ToTime | datetime |
| * | TimeName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Time__41CC1F32B64C86B7 | Primary Key ON TimeSlotId | |
| Foreign Key | ||
| FK_CNF_TimeSlot_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_TimeSlot_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TravelMatrixId | int IDENTITY |
| * | TravelMatrixAK | varchar(32) COLLATE Latin1_General_CI_AS |
| Code | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Enabled | smallint DEFAULT 1 | |
| Active | smallint DEFAULT 0 | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Description | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Trav__634ECD1EB2C8EA3D | Primary Key ON TravelMatrixId | |
| UQ__CNF_Trav__634E0ED80FD25033 | Unique Key ON TravelMatrixAK | |
| Foreign Key | ||
| FK_CNF_TravelMatrix_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_TravelMatrix_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TravelTimeId | int IDENTITY |
| * | TravelMatrixId | int |
| * | FromGateId | int |
| * | ToGateId | int |
| TravelTime | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Trav__6CDD78C4843ED6F2 | Primary Key ON TravelTimeId, TravelMatrixId | |
| Foreign Key | ||
| fk_CNF_TravelTime_FromGateId | FromGateId ↗ ❏ ADM_Gate(GateId) | |
| FK_CNF_TravelTime_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_TravelTime_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_CNF_TravelTime_ToGateId | ToGateId ↗ ❏ ADM_Gate(GateId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TriggerId | int IDENTITY |
| * | TriggerType | smallint |
| * | ListenerType | smallint |
| EntityTable | smallint | |
| EntityId | int | |
| DocTemplateId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Trig__11321F625E984BDF | Primary Key ON TriggerId | |
| Foreign Key | ||
| FK__CNF_Trigg__DocTe__304F08CE | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK_CNF_Trigger_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Trigger_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_Trigger_Permission_TriggerId | TriggerId ↙ ❏ CNF_Trigger_Permission | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TriggerPermissionId | int IDENTITY |
| * | TriggerId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| Allow | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DmgCategoryId | int | |
| AccountId | int | |
| Indexes | ||
| PK__CNF_Trig__0CA985EA88538555 | Primary Key ON TriggerPermissionId | |
| Foreign Key | ||
| FK_CNF_Trigger_Permission_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_CNF_Trigger_Permission_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_Trigger_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_Trigger_Permission_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_Trigger_Permission_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_Trigger_Permission_TriggerId | TriggerId ↗ ❏ CNF_Trigger | |
| FK_Trigger_Permission_UserGroupId | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK_Trigger_Permission_UserId | UserId ↗ ❏ CNF_User | |
| FK_Trigger_Permission_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UpSellId | int IDENTITY |
| DmgCategoryId | int | |
| * | UpSellCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| * | UpSellName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| UpSelldescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | UpSellType | smallint |
| Weight | int | |
| * | Enabled | smallint |
| * | UpSellAK | nvarchar(32) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Link | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_UpSe__384127C32924E46F | Primary Key ON UpSellId | |
| Foreign Key | ||
| FK__CNF_UpSel__DmgCa__553674BA | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_UpSell_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_UpSell_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_CNF_UpSellCategoryVal_UpSellId | UpSellId ↙ ❏ CNF_UpSellCategoryValidity | |
| FK__CNF_UpSel__UpSel__5CD79682 | UpSellId ↙ ❏ CNF_UpSell_Validity | |
| FK__CNF_UpSel__UpSel__60A82766 | UpSellId ↙ ❏ CNF_UpSell_Permission | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UpSellCategoryId | int IDENTITY |
| * | UpSellCategoryCode | varchar(10) COLLATE Latin1_General_CI_AS |
| UpSellCategoryDescription | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| ParentId | int | |
| * | Position | int |
| * | Level | int |
| ActivationType | int | |
| RecursiveName | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| RecursiveDesc | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| * | Enabled | smallint DEFAULT 1 |
| * | UpSellCategoryAK | varchar(32) COLLATE Latin1_General_CI_AS |
| DmgCategoryId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_UpSe__08EFE498662AD18B | Primary Key ON UpSellCategoryId | |
| Foreign Key | ||
| FK_CNF_UpSellCategory_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_UpSellCategory_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_UpSellCategory_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_UpSellCategory_ParentId | ParentId ↗ ❏ CNF_UpSellCategory(UpSellCategoryId) | |
| Referring Foreign Key | ||
| FK_CNF_UpSellCategory_ParentId | UpSellCategoryId ↙ ❏ CNF_UpSellCategory(ParentId) | |
| FK_CNF_UpSellCategoryVal_UpSellCatId | UpSellCategoryId ↙ ❏ CNF_UpSellCategoryValidity | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UpSellCatValidityId | int IDENTITY |
| * | UpSellCategoryId | int |
| UpSellId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_UpSe__6BB508702607E4B6 | Primary Key ON UpSellCatValidityId | |
| Foreign Key | ||
| FK_CNF_UpSellCategoryVal_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_UpSellCategoryVal_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_UpSellCategoryVal_UpSellCatId | UpSellCategoryId ↗ ❏ CNF_UpSellCategory | |
| FK_CNF_UpSellCategoryVal_UpSellId | UpSellId ↗ ❏ CNF_UpSell | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UpSellPermissionId | int IDENTITY |
| * | UpSellId | int |
| UserGroupId | int | |
| UserId | int | |
| WorkstationId | int | |
| SiteId | int | |
| LocationId | int | |
| OperatingAreaId | int | |
| * | Allow | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_UpSe__A0E5A546C4966F30 | Primary Key ON UpSellPermissionId | |
| Foreign Key | ||
| FK__CNF_UpSel__Opera__63849411 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_UpSel__SiteI__62906FD8 | SiteId ↗ ❏ CNF_Site | |
| FK__CNF_UpSel__UpSel__60A82766 | UpSellId ↗ ❏ CNF_UpSell | |
| FK__CNF_UpSel__UserG__656CDC83 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_UpSel__UserI__6478B84A | UserId ↗ ❏ CNF_User | |
| FK__CNF_UpSel__Works__619C4B9F | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_UpSell_Permission_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_UpSell_Permission_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UpSellRuleId | int IDENTITY |
| * | UpSellId | int |
| * | ObjectId | int |
| ObjectType | smallint | |
| RuleType | smallint | |
| Quantity | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | ReferenceKey | int DEFAULT '0' |
| Indexes | ||
| PK__CNF_UpSe__D62818B7E42888F3 | Primary Key ON UpSellRuleId | |
| Idx_UpSellRules_ObjIdType | Index ON UpSellId, ObjectId, ObjectType | |
| Foreign Key | ||
| FK_CNF_UpSell_Rule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_UpSell_Rule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UpSellValidityId | int IDENTITY |
| * | UpSellId | int |
| FromDate | smalldatetime | |
| ToDate | smalldatetime | |
| Sunday | smallint | |
| Monday | smallint | |
| Tuesday | smallint | |
| Wednesday | smallint | |
| Thursday | smallint | |
| Friday | smallint | |
| Saturday | smallint | |
| FromTime | datetime | |
| ToTime | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_UpSe__D4E95CCB9B9A97CB | Primary Key ON UpSellValidityId | |
| Foreign Key | ||
| FK__CNF_UpSel__UpSel__5CD79682 | UpSellId ↗ ❏ CNF_UpSell | |
| FK_CNF_UpSell_Validity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_UpSell_Validity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UpgradeId | int IDENTITY |
| * | UpgradeTo | int |
| * | UpgradeType | smallint |
| * | DaysForUpgrade | smallint |
| * | PreferredOrder | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Upgr__CA188BE52ED8CC78 | Primary Key ON UpgradeId | |
| Foreign Key | ||
| FK_CNF_Upgrade_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Upgrade_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UserId | int IDENTITY |
| UserAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| UserType | smallint | |
| Template | smallint | |
| * | Enabled | smallint |
| UserName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| UserCode | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| UserDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| UserPassword | varchar(100) COLLATE Latin1_General_CI_AS | |
| * | CreationDate | datetime |
| OrganizationId | int | |
| PasswordChange | datetime | |
| PasswordExpiration | datetime | |
| LastLogin | datetime | |
| * | LastChange | datetime |
| MasterUserId | int | |
| * | SystemId | int |
| NTUser | smallint | |
| RoleNames | nvarchar(1000) COLLATE Latin1_General_CI_AS | |
| DmgCategoryId | int | |
| ExtAuthCode | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | SecurityAdmin | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| note | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| HystoricalPsw | varchar(max) COLLATE Latin1_General_CI_AS | |
| ExpirationDate | datetime | |
| UserEmail | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_User__1788CC4C4EADFD5D | Primary Key ON UserId | |
| Foreign Key | ||
| FK__CNF_User__DmgCat__332B7579 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__CNF_User__Master__341F99B2 | MasterUserId ↗ ❏ CNF_User(UserId) | |
| FK__CNF_User__System__3513BDEB | SystemId ↗ ❏ CNF_System | |
| FK_CNF_User_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_User_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__UserI__0722D609 | UserId ↙ ❏ CNF_MatrixCellPermission | |
| FK_CNF_MatrixCellPermission_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCellPermission(Last_UserId_Log) | |
| FK_DATA_CapacityCounterRef_Last_UserId_Log | UserId ↙ ❏ DATA_CapacityCounterRef(Last_UserId_Log) | |
| FK__DATA_Secu__UserI__02DD43D9 | UserId ↙ ❏ DATA_SecurityChangeLog | |
| FK_CNF_TravelTime_Last_UserId_Log | UserId ↙ ❏ CNF_TravelTime(Last_UserId_Log) | |
| FK_CNF_FundType_Last_UserId_Log | UserId ↙ ❏ CNF_FundType(Last_UserId_Log) | |
| FK_CNF_Donation_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_Donation_Permission(Last_UserId_Log) | |
| FK_Donation_Permission_UserId | UserId ↙ ❏ CNF_Donation_Permission | |
| FK_CNF_BoardPackage_Last_UserId_Log | UserId ↙ ❏ CNF_BoardPackage(Last_UserId_Log) | |
| FK_DATA_Transaction2Ticket_Last_UserId_Log | UserId ↙ ❏ DATA_Transaction2Ticket(Last_UserId_Log) | |
| FK_CNF_Trigger_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_Trigger_Permission(Last_UserId_Log) | |
| FK_Trigger_Permission_UserId | UserId ↙ ❏ CNF_Trigger_Permission | |
| FK_CNF_RoundingRule_Last_UserId_Log | UserId ↙ ❏ CNF_RoundingRule(Last_UserId_Log) | |
| FK_CNF_ShopCartValidation_Last_UserId_Log | UserId ↙ ❏ CNF_ShopCartValidation(Last_UserId_Log) | |
| FK__DATA_Conf__UserI__52A420D2 | UserId ↙ ❏ DATA_ConfigurationHistory | |
| FK_DATA_TransactionItem_Last_UserId_Log | UserId ↙ ❏ DATA_TransactionItem(Last_UserId_Log) | |
| FK_CNF_Geo_Last_UserId_Log | UserId ↙ ❏ CNF_Geo(Last_UserId_Log) | |
| FK_CNF_Notification_Last_UserId_Log | UserId ↙ ❏ CNF_Notification(Last_UserId_Log) | |
| FK_CNF_MatrixCell2Donation_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCell2Donation(Last_UserId_Log) | |
| FK_DATA_Batch2Reservation_Last_UserId_Log | UserId ↙ ❏ DATA_Batch2Reservation(Last_UserId_Log) | |
| FK_CNF_PswDictionary_Last_UserId_Log | UserId ↙ ❏ CNF_PswDictionary(Last_UserId_Log) | |
| FK_CNF_ShopCartValidationItem_Last_UserId_Log | UserId ↙ ❏ CNF_ShopCartValidationItem(Last_UserId_Log) | |
| FK_CNF_Calendar_Last_UserId_Log | UserId ↙ ❏ CNF_Calendar(Last_UserId_Log) | |
| FK_DATA_TransactionItem_Combo_Last_UserId_Log | UserId ↙ ❏ DATA_TransactionItem_Combo(Last_UserId_Log) | |
| FK_CNF_DBTable2DBGroup_Last_UserId_Log | UserId ↙ ❏ CNF_DBTable2DBGroup(Last_UserId_Log) | |
| FK_DATA_TransactionItemRule_Last_UserId_Log | UserId ↙ ❏ DATA_TransactionItemRule(Last_UserId_Log) | |
| FK_DATA_Coupon_Last_UserId_Log | UserId ↙ ❏ DATA_Coupon(Last_UserId_Log) | |
| FK_CNF_SALTO_PERIPHERALS_Last_UserId_Log | UserId ↙ ❏ CNF_SALTO_PERIPHERALS(Last_UserId_Log) | |
| FK_CNF_CalendarTimeFrame_Last_UserId_Log | UserId ↙ ❏ CNF_CalendarTimeFrame(Last_UserId_Log) | |
| FK_CNF_ShopCartValidation_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_ShopCartValidation_Permission(Last_UserId_Log) | |
| FK_CNF_IncentiveTicket_Last_UserId_Log | UserId ↙ ❏ CNF_IncentiveTicket(Last_UserId_Log) | |
| FK_DATA_TransactionTax_Last_UserId_Log | UserId ↙ ❏ DATA_TransactionTax(Last_UserId_Log) | |
| FK__DATA_DBUp__UserI__548C6944 | UserId ↙ ❏ DATA_DBUpdateLog | |
| FK_DATA_Biometric2Ticket_Last_UserId_Log | UserId ↙ ❏ DATA_Biometric2Ticket(Last_UserId_Log) | |
| FK_CNF_SALTO_ZONE_Last_UserId_Log | UserId ↙ ❏ CNF_SALTO_ZONE(Last_UserId_Log) | |
| FK_CNF_MatrixCell2FlexContract_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCell2FlexContract(Last_UserId_Log) | |
| FK_CNF_CalendarTimeFrameItem_Last_UserId_Log | UserId ↙ ❏ CNF_CalendarTimeFrameItem(Last_UserId_Log) | |
| FK_CNF_Language_Last_UserId_Log | UserId ↙ ❏ CNF_Language(Last_UserId_Log) | |
| FK__DATA_Depo__UserI__5768D5EF | UserId ↙ ❏ DATA_Deposit | |
| FK_CNF_CalendarValidity_Last_UserId_Log | UserId ↙ ❏ CNF_CalendarValidity(Last_UserId_Log) | |
| FK_DATA_RenewalPlan_UserId | UserId ↙ ❏ DATA_RenewalPlan(Last_UserId_Log) | |
| FK_CNF_Scheduler_Last_UserId_Log | UserId ↙ ❏ CNF_Scheduler(Last_UserId_Log) | |
| FK__DATA_Trig__CmpUs__7A7D0802 | UserId ↙ ❏ DATA_TriggerItem(CmpUserId) | |
| FK__DATA_Trig__InsUs__7D5974AD | UserId ↙ ❏ DATA_TriggerItem(InsUserId) | |
| FK__DATA_Trig__UpdUs__7F41BD1F | UserId ↙ ❏ DATA_TriggerItem(UpdUserId) | |
| FK_CNF_LedgerAccount_Last_UserId_Log | UserId ↙ ❏ CNF_LedgerAccount(Last_UserId_Log) | |
| FK_CNF_Seat_Last_UserId_Log | UserId ↙ ❏ CNF_Seat(Last_UserId_Log) | |
| FK_COA_CNF_AccountConfig_Last_UserId_Log | UserId ↙ ❏ COA_CNF_AccountConfig(Last_UserId_Log) | |
| FK__DATA_Trig__UserI__021E29CA | UserId ↙ ❏ DATA_TriggerItemLog | |
| FK_RR_CNF_RevenueRecognitionRuleSchedule_Last_UserId_Log | UserId ↙ ❏ RR_CNF_RevenueRecognitionRuleSchedule(Last_UserId_Log) | |
| FK_CNF_License_Last_UserId_Log | UserId ↙ ❏ _CNF_License(Last_UserId_Log) | |
| FK_COA_CNF_AccountType_Last_UserId_Log | UserId ↙ ❏ COA_CNF_AccountType(Last_UserId_Log) | |
| FK_CNF_SeatCategory_Last_UserId_Log | UserId ↙ ❏ CNF_SeatCategory(Last_UserId_Log) | |
| FK__DATA_User__UserI__0406723C | UserId ↙ ❏ DATA_UserLog | |
| FK_CNF_Location_Last_UserId_Log | UserId ↙ ❏ CNF_Location(Last_UserId_Log) | |
| FK_COA_CNF_Account_Last_UserId_Log | UserId ↙ ❏ COA_CNF_Account(Last_UserId_Log) | |
| FK_DATA_Voucher_Last_UserId_Log | UserId ↙ ❏ DATA_Voucher(Last_UserId_Log) | |
| FK_CNF_FlexContractFee_Last_UserId_Log | UserId ↙ ❏ CNF_FlexContractFee(Last_UserId_Log) | |
| FK__CNF_SeatC__UserI__7EB7AD3A | UserId ↙ ❏ CNF_SeatCategory_Permission | |
| FK_CNF_SeatCategory_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_SeatCategory_Permission(Last_UserId_Log) | |
| FK_CNF_Catalog_Last_UserId_Log | UserId ↙ ❏ CNF_Catalog(Last_UserId_Log) | |
| FK_CNF_Promotion2Account_Last_UserId_Log | UserId ↙ ❏ CNF_Promotion2Account(Last_UserId_Log) | |
| FK_DATA_VoucherItem_Last_UserId_Log | UserId ↙ ❏ DATA_VoucherItem(Last_UserId_Log) | |
| FK_DATA_DmgData_Last_UserId_Log | UserId ↙ ❏ DATA_DmgData(Last_UserId_Log) | |
| FK_CNF_DBTable_Last_UserId_Log | UserId ↙ ❏ CNF_DBTable(Last_UserId_Log) | |
| FK_CNF_Catalog2Product_Last_UserId_Log | UserId ↙ ❏ CNF_Catalog2Product(Last_UserId_Log) | |
| FK_DATA_RenewalPlanDetails_UserId | UserId ↙ ❏ DATA_RenewalPlanDetails(Last_UserId_Log) | |
| FK_CNF_SeatLayout_Last_UserId_Log | UserId ↙ ❏ CNF_SeatLayout(Last_UserId_Log) | |
| FK_DATA_DmgData_Translate_Last_UserId_Log | UserId ↙ ❏ DATA_DmgData_Translate(Last_UserId_Log) | |
| FK_CNF_Category_Last_UserId_Log | UserId ↙ ❏ CNF_Category(Last_UserId_Log) | |
| FK__DATA_Exce__UserI__5FFE1BF0 | UserId ↙ ❏ DATA_ExceptionLog | |
| FK_CNF_DBColumn_Last_UserId_Log | UserId ↙ ❏ CNF_DBColumn(Last_UserId_Log) | |
| FK_CNF_SeatLayout2Template_Last_UserId_Log | UserId ↙ ❏ CNF_SeatLayout2Template(Last_UserId_Log) | |
| FK_CNF_Category2Product_Last_UserId_Log | UserId ↙ ❏ CNF_Category2Product(Last_UserId_Log) | |
| FK_CNF_Mask_Last_UserId_Log | UserId ↙ ❏ CNF_Mask(Last_UserId_Log) | |
| FK_RR_DATA_Revenue_CNF_User_UserId | UserId ↙ ❏ RR_DATA_Revenue | |
| FK__DATA_Exte__UserI__61E66462 | UserId ↙ ❏ DATA_ExternalServiceLog | |
| FK_CNF_SeatLayoutItem_Last_UserId_Log | UserId ↙ ❏ CNF_SeatLayoutItem(Last_UserId_Log) | |
| FK_DATA_Ticket2TicketPackage_Last_UserId_Log | UserId ↙ ❏ DATA_Ticket2TicketPackage(Last_UserId_Log) | |
| FK_CNF_SeatPerformance_Last_UserId_Log | UserId ↙ ❏ CNF_SeatPerformance(Last_UserId_Log) | |
| FK_CNF_Mask_Utility_Last_UserId_Log | UserId ↙ ❏ CNF_Mask_Utility(Last_UserId_Log) | |
| FK_CNF_Combo_Last_UserId_Log | UserId ↙ ❏ CNF_Combo(Last_UserId_Log) | |
| FK_RR_CNF_RevenueRecognitionRule_Last_UserId_Log | UserId ↙ ❏ RR_CNF_RevenueRecognitionRule(Last_UserId_Log) | |
| FK_CNF_MatrixCell_Renew_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCell_Renew(Last_UserId_Log) | |
| FK_CNF_SeatTemplate_Last_UserId_Log | UserId ↙ ❏ CNF_SeatTemplate(Last_UserId_Log) | |
| FK_CNF_MaskTable_Last_UserId_Log | UserId ↙ ❏ CNF_MaskTable(Last_UserId_Log) | |
| FK_DATA_TicketPackage_Last_UserId_Log | UserId ↙ ❏ DATA_TicketPackage(Last_UserId_Log) | |
| FK_CNF_MaskTableItem_Last_UserId_Log | UserId ↙ ❏ CNF_MaskTableItem(Last_UserId_Log) | |
| FK_CNF_Commission2Account_Last_UserId_Log | UserId ↙ ❏ CNF_Commission2Account(Last_UserId_Log) | |
| FK_CNF_Invoice_Last_UserId_Log | UserId ↙ ❏ CNF_Invoice(Last_UserId_Log) | |
| FK_DATA_Ledger_Last_UserId_Log | UserId ↙ ❏ DATA_Ledger(Last_UserId_Log) | |
| FK_CNF_MaskTableItem_Translation_Last_UserId_Log | UserId ↙ ❏ CNF_MaskTableItem_Translation(Last_UserId_Log) | |
| FK_CNF_CostCenter_Last_UserId_Log | UserId ↙ ❏ CNF_CostCenter(Last_UserId_Log) | |
| FK_INV_ALU_Last_UserId_Log | UserId ↙ ❏ INV_ALU(Last_UserId_Log) | |
| FK_DATA_Account2CRM_Last_UserId_Log | UserId ↙ ❏ DATA_Account2CRM(Last_UserId_Log) | |
| FK_CNF_TicketPackageGroup_Last_UserId_Log | UserId ↙ ❏ CNF_TicketPackageGroup(Last_UserId_Log) | |
| FK_CNF_Site_Last_UserId_Log | UserId ↙ ❏ CNF_Site(Last_UserId_Log) | |
| FK_DATA_ExtendedInfo_Last_UserId_Log | UserId ↙ ❏ DATA_ExtendedInfo(Last_UserId_Log) | |
| FK_DATA_InvoiceData_Last_UserId_Log | UserId ↙ ❏ DATA_InvoiceData(Last_UserId_Log) | |
| FK_CNF_MatrixCell_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCell(Last_UserId_Log) | |
| FK_INV_Department_Last_UserId_Log | UserId ↙ ❏ INV_Department(Last_UserId_Log) | |
| FK_CNF_CostCenter_Validity_Last_UserId_Log | UserId ↙ ❏ CNF_CostCenter_Validity(Last_UserId_Log) | |
| FK_DATA_Media_Last_UserId_Log | UserId ↙ ❏ DATA_Media(Last_UserId_Log) | |
| FK_CNF_Performance_SaleValidity_Last_UserId_Log | UserId ↙ ❏ CNF_Performance_SaleValidity(Last_UserId_Log) | |
| FK_DATA_TicketPackage2Group_Last_UserId_Log | UserId ↙ ❏ DATA_TicketPackage2Group(Last_UserId_Log) | |
| FK_CNF_MatrixCell_QuickUpgrade_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCell_QuickUpgrade(Last_UserId_Log) | |
| FK_RR_CNF_Product_Last_UserId_Log | UserId ↙ ❏ RR_CNF_Product(Last_UserId_Log) | |
| FK_DATA_ExtendedInfo2SaleItem_Last_UserId_Log | UserId ↙ ❏ DATA_ExtendedInfo2SaleItem(Last_UserId_Log) | |
| FK__CNF_Perfo__UserI__2F30C763 | UserId ↙ ❏ CNF_Performance_Permission | |
| FK_CNF_Performance_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_Performance_Permission(Last_UserId_Log) | |
| FK_DATA_MediaIdentifier_Last_UserId_Log | UserId ↙ ❏ DATA_MediaIdentifier(Last_UserId_Log) | |
| FK__CNF_Site___UserI__0FE2393C | UserId ↙ ❏ CNF_Site_LoginPermission | |
| FK_CNF_Site_LoginPermission_Last_UserId_Log | UserId ↙ ❏ CNF_Site_LoginPermission(Last_UserId_Log) | |
| FK_CNF_LocationMatrix_Last_UserId_Log | UserId ↙ ❏ CNF_LocationMatrix(Last_UserId_Log) | |
| FK_CNF_MatrixCellInfo_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCellInfo(Last_UserId_Log) | |
| FK__CNF_Deliv__UserI__2D337058 | UserId ↙ ❏ CNF_Delivery_Permission | |
| FK_CNF_Delivery_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_Delivery_Permission(Last_UserId_Log) | |
| FK_DATA_PaymentFlex2SaleItem_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentFlex2SaleItem(Last_UserId_Log) | |
| FK_CNF_Currency_Last_UserId_Log | UserId ↙ ❏ CNF_Currency(Last_UserId_Log) | |
| FK_INV_Item_Last_UserId_Log | UserId ↙ ❏ INV_Item(Last_UserId_Log) | |
| FK_STAT_Product_UserId | UserId ↙ ❏ STAT_Product | |
| FK__DATA_Medi__UserI__7310F064 | UserId ↙ ❏ DATA_MediaIdentifierBlackList | |
| FK_DATA_MediaIdentifierBlackList_Last_UserId_Log | UserId ↙ ❏ DATA_MediaIdentifierBlackList(Last_UserId_Log) | |
| FK_CNF_TicketPackageGroupPermission_Last_UserId_Log | UserId ↙ ❏ CNF_TicketPackageGroupPermission(Last_UserId_Log) | |
| FK_CNF_TicketPackageGroupPermission_UserId | UserId ↙ ❏ CNF_TicketPackageGroupPermission | |
| FK_CNF_SpaceStructure_Last_UserId_Log | UserId ↙ ❏ CNF_SpaceStructure(Last_UserId_Log) | |
| FK_CNF_CurrencyDetail_Last_UserId_Log | UserId ↙ ❏ CNF_CurrencyDetail(Last_UserId_Log) | |
| FK_INV_ItemStock_Last_UserId_Log | UserId ↙ ❏ INV_ItemStock(Last_UserId_Log) | |
| FK_STAT_CostCenter_UserId | UserId ↙ ❏ STAT_CostCenter | |
| FK_DATA_ExtendedInfo2Ticket_Last_UserId_Log | UserId ↙ ❏ DATA_ExtendedInfo2Ticket(Last_UserId_Log) | |
| FK_DATA_MediaStoredValue_Last_UserId_Log | UserId ↙ ❏ DATA_MediaStoredValue(Last_UserId_Log) | |
| FK_CNF_MatrixCellTranslation_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCellTranslation(Last_UserId_Log) | |
| FK_STOCK_CNF_Product_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_Product(Last_UserId_Log) | |
| FK_CNF_DataMask_Last_UserId_Log | UserId ↙ ❏ CNF_DataMask(Last_UserId_Log) | |
| FK_STAT_StatisticalGroup_UserId | UserId ↙ ❏ STAT_StatisticalGroup | |
| FK_DATA_VivaDotComSync_Last_UserId_Log | UserId ↙ ❏ DATA_VivaDotComSync(Last_UserId_Log) | |
| FK_INV_Movement_Last_UserId_Log | UserId ↙ ❏ INV_Movement(Last_UserId_Log) | |
| FK_DATA_NFCIdentifier_Last_UserId_Log | UserId ↙ ❏ DATA_NFCIdentifier(Last_UserId_Log) | |
| FK_STOCK_CNF_ProductBarcodes_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_ProductBarcodes(Last_UserId_Log) | |
| FK_CNF_DataMaskTranslation_Last_UserId_Log | UserId ↙ ❏ CNF_DataMaskTranslation(Last_UserId_Log) | |
| FK_STAT_CreditCard_UserId | UserId ↙ ❏ STAT_CreditCard | |
| FK_CNF_StatisticalGroup_Last_UserId_Log | UserId ↙ ❏ CNF_StatisticalGroup(Last_UserId_Log) | |
| FK_CNF_DocTemplate2IdentifierType_Last_UserId_Log | UserId ↙ ❏ CNF_DocTemplate2IdentifierType(Last_UserId_Log) | |
| FK_CNF_MatrixDimension_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixDimension(Last_UserId_Log) | |
| FK_STOCK_CNF_ProductCategory_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_ProductCategory(Last_UserId_Log) | |
| FK_CNF_UpSell_Rule_Last_UserId_Log | UserId ↙ ❏ CNF_UpSell_Rule(Last_UserId_Log) | |
| FK_INV_PODetail_Last_UserId_Log | UserId ↙ ❏ INV_PODetail(Last_UserId_Log) | |
| FK_STAT_Payment_UserId | UserId ↙ ❏ STAT_Payment | |
| FK_CNF_DmgCategory2CRMTemplate_Last_UserId_Log | UserId ↙ ❏ CNF_DmgCategory2CRMTemplate(Last_UserId_Log) | |
| FK_CNF_MatrixSheet_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixSheet(Last_UserId_Log) | |
| FK_DATA_Payment_Last_UserId_Log | UserId ↙ ❏ DATA_Payment(Last_UserId_Log) | |
| FK_CNF_StatisticalGroupValidity_Last_UserId_Log | UserId ↙ ❏ CNF_StatisticalGroupValidity(Last_UserId_Log) | |
| FK_STOCK_CNF_ProductCombo_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_ProductCombo(Last_UserId_Log) | |
| FK__CNF_Matri__UserI__2BBF5DDB | UserId ↙ ❏ CNF_MatrixSheet_SaleValidity | |
| FK_CNF_MatrixSheet_SaleValidity_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixSheet_SaleValidity(Last_UserId_Log) | |
| FK__INV_Purch__UserI__19018F22 | UserId ↙ ❏ INV_PurchaseOrder | |
| FK_INV_PurchaseOrder_Last_UserId_Log | UserId ↙ ❏ INV_PurchaseOrder(Last_UserId_Log) | |
| FK_STOCK_CNF_ProductComboChoice_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_ProductComboChoice(Last_UserId_Log) | |
| FK_DATA_PaymentAccount_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentAccount(Last_UserId_Log) | |
| FK_CNF_Subscription_Last_UserId_Log | UserId ↙ ❏ CNF_Subscription(Last_UserId_Log) | |
| FK_CNF_LocationMatrixPrice_Last_UserId_Log | UserId ↙ ❏ CNF_LocationMatrixPrice(Last_UserId_Log) | |
| FK_CNF_Merchant_Last_UserId_Log | UserId ↙ ❏ CNF_Merchant(Last_UserId_Log) | |
| FK_CNF_DeliveryMode_Last_UserId_Log | UserId ↙ ❏ CNF_DeliveryMode(Last_UserId_Log) | |
| FK_STOCK_CNF_ProductUm_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_ProductUm(Last_UserId_Log) | |
| FK_INV_Supplier_Last_UserId_Log | UserId ↙ ❏ INV_Supplier(Last_UserId_Log) | |
| FK_DATA_PaymentB2B_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentB2B(Last_UserId_Log) | |
| FK_CNF_DBGroup_Last_UserId_Log | UserId ↙ ❏ CNF_DBGroup(Last_UserId_Log) | |
| FK_CNF_Device_Last_UserId_Log | UserId ↙ ❏ CNF_Device(Last_UserId_Log) | |
| FK_CNF_Subscription2Performance_Last_UserId_Log | UserId ↙ ❏ CNF_Subscription2Performance(Last_UserId_Log) | |
| FK_CNF_MerchantTable_Last_UserId_Log | UserId ↙ ❏ CNF_MerchantTable(Last_UserId_Log) | |
| FK_Data_Note_UserId | UserId ↙ ❏ DATA_NoteTask | |
| FK_STOCK_CNF_Um_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_Um(Last_UserId_Log) | |
| FK__INV_Trans__UserI__1BDDFBCD | UserId ↙ ❏ INV_Transfer | |
| FK_INV_Transfer_Last_UserId_Log | UserId ↙ ❏ INV_Transfer(Last_UserId_Log) | |
| FK_DATA_PaymentCard_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentCard(Last_UserId_Log) | |
| FK_DATA_MediaIdentifierNotRecognized_UserId | UserId ↙ ❏ DATA_MediaIdentifierNotRecognized | |
| FK_CNF_MultiLanguage_Last_UserId_Log | UserId ↙ ❏ CNF_MultiLanguage(Last_UserId_Log) | |
| FK_STOCK_CNF_Warehouse_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_Warehouse(Last_UserId_Log) | |
| FK_CNF_DmgCategory_Last_UserId_Log | UserId ↙ ❏ CNF_DmgCategory(Last_UserId_Log) | |
| FK_INV_UnitOfMeasure_Last_UserId_Log | UserId ↙ ❏ INV_UnitOfMeasure(Last_UserId_Log) | |
| FK_DATA_PaymentCredit_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentCredit(Last_UserId_Log) | |
| FK_CNF_Survey_Last_UserId_Log | UserId ↙ ❏ CNF_Survey(Last_UserId_Log) | |
| FK_CNF_OperatingArea_Last_UserId_Log | UserId ↙ ❏ CNF_OperatingArea(Last_UserId_Log) | |
| FK_STOCK_CNF_WarehouseAssign_Last_UserId_Log | UserId ↙ ❏ STOCK_CNF_WarehouseAssign(Last_UserId_Log) | |
| FK_DATA_PaymentFlex_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentFlex(Last_UserId_Log) | |
| FK__CNF_DmgCa__UserI__2DDCB077 | UserId ↙ ❏ CNF_DmgCategory_Permission | |
| FK_CNF_DmgCategory_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_DmgCategory_Permission(Last_UserId_Log) | |
| FK_CNF_UpSellCategory_Last_UserId_Log | UserId ↙ ❏ CNF_UpSellCategory(Last_UserId_Log) | |
| FK_INV_WareHouse_Last_UserId_Log | UserId ↙ ❏ INV_WareHouse(Last_UserId_Log) | |
| FK_CNF_System_Last_UserId_Log | UserId ↙ ❏ CNF_System(Last_UserId_Log) | |
| Relationship1232 | UserId ↙ ❏ STOCK_Movement | |
| FK_CNF_PAY_Last_UserId_Log | UserId ↙ ❏ CNF_PAY(Last_UserId_Log) | |
| FK_CNF_PaymentCardCode_Last_UserId_Log | UserId ↙ ❏ CNF_PaymentCardCode(Last_UserId_Log) | |
| FK_CNF_DmgCategory2Mask_Last_UserId_Log | UserId ↙ ❏ CNF_DmgCategory2Mask(Last_UserId_Log) | |
| FK_DATA_PaymentPlan_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentPlan(Last_UserId_Log) | |
| FK_DATA_Ticket2Phone_Last_UserId_Log | UserId ↙ ❏ DATA_Ticket2Phone(Last_UserId_Log) | |
| FK_CNF_MembershipCard_Last_UserId_Log | UserId ↙ ❏ CNF_MembershipCard(Last_UserId_Log) | |
| FK_CNF_Pay_MatrixCell_Last_UserId_Log | UserId ↙ ❏ CNF_Pay_MatrixCell(Last_UserId_Log) | |
| FK_CNF_DocRepository_Last_UserId_Log | UserId ↙ ❏ CNF_DocRepository(Last_UserId_Log) | |
| FK_DATA_PaymentPlan2Transaction_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentPlan2Transaction(Last_UserId_Log) | |
| FK__CNF_Tag__UserId__24DD5622 | UserId ↙ ❏ CNF_Tag | |
| FK_CNF_ShopCartValidationItem2Event_Last_UserId_Log | UserId ↙ ❏ CNF_ShopCartValidationItem2Event(Last_UserId_Log) | |
| FK_CNF_PaymentCard_Last_UserId_Log | UserId ↙ ❏ CNF_PaymentCard(Last_UserId_Log) | |
| FK_CNF_DocTemplate_Last_UserId_Log | UserId ↙ ❏ CNF_DocTemplate(Last_UserId_Log) | |
| FK__CNF_Tag2E__UserI__27B9C2CD | UserId ↙ ❏ CNF_Tag2Entity | |
| FK_CNF_PromotionProductCategory_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionProductCategory(Last_UserId_Log) | |
| FK_DATA_History_Override_SupervisorUserId | UserId ↙ ❏ DATA_History_Override(SupervisorUserId) | |
| FK_DATA_History_Override_UserId | UserId ↙ ❏ DATA_History_Override | |
| FK_CNF_PaymentCardRange_Last_UserId_Log | UserId ↙ ❏ CNF_PaymentCardRange(Last_UserId_Log) | |
| FK_CNF_SeatObject_Last_UserId_Log | UserId ↙ ❏ CNF_SeatObject(Last_UserId_Log) | |
| FK_DATA_Reservation_Last_UserId_Log | UserId ↙ ❏ DATA_Reservation(Last_UserId_Log) | |
| FK_CNF_Tax_Last_UserId_Log | UserId ↙ ❏ CNF_Tax(Last_UserId_Log) | |
| FK_CNF_ShopCartValidationItem2MatrixCell_Last_UserId_Log | UserId ↙ ❏ CNF_ShopCartValidationItem2MatrixCell(Last_UserId_Log) | |
| FK__CNF_DocTe__UserI__3D1EF407 | UserId ↙ ❏ CNF_DocTemplate_Permission | |
| FK_CNF_DocTemplate_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_DocTemplate_Permission(Last_UserId_Log) | |
| FK_CNF_Tax2Location_Last_UserId_Log | UserId ↙ ❏ CNF_Tax2Location(Last_UserId_Log) | |
| FK_CNF_PaymentMethod_Last_UserId_Log | UserId ↙ ❏ CNF_PaymentMethod(Last_UserId_Log) | |
| FK_CNF_DocTemplate2Device_Last_UserId_Log | UserId ↙ ❏ CNF_DocTemplate2Device(Last_UserId_Log) | |
| FK_CNF_ShopCartValidationItem2StatisticalGroup_Last_UserId_Log | UserId ↙ ❏ CNF_ShopCartValidationItem2StatisticalGroup(Last_UserId_Log) | |
| FK_DATA_Right_Last_UserId_Log | UserId ↙ ❏ DATA_Right(Last_UserId_Log) | |
| FK_CNF_Tax2Package_Last_UserId_Log | UserId ↙ ❏ CNF_Tax2Package(Last_UserId_Log) | |
| FK_CNF_DocTemplateParam_Last_UserId_Log | UserId ↙ ❏ CNF_DocTemplateParam(Last_UserId_Log) | |
| FK_CNF_UpSellCategoryVal_Last_UserId_Log | UserId ↙ ❏ CNF_UpSellCategoryValidity(Last_UserId_Log) | |
| FK_CNF_Performance_Last_UserId_Log | UserId ↙ ❏ CNF_Performance(Last_UserId_Log) | |
| FK_CNF_DocTemplateParamValue_Last_UserId_Log | UserId ↙ ❏ CNF_DocTemplateParamValue(Last_UserId_Log) | |
| FK__DATA_Sale__UserI__1936994C | UserId ↙ ❏ DATA_Sale | |
| FK_DATA_Sale_Last_UserId_Log | UserId ↙ ❏ DATA_Sale(Last_UserId_Log) | |
| FK_CNF_PerformanceCategory_Last_UserId_Log | UserId ↙ ❏ CNF_PerformanceCategory(Last_UserId_Log) | |
| FK_CNF_Driver_Last_UserId_Log | UserId ↙ ❏ CNF_Driver(Last_UserId_Log) | |
| FK__OFF_Updat__UserI__2196D523 | UserId ↙ ❏ OFF_Update | |
| FK_CNF_TaxPackage_Last_UserId_Log | UserId ↙ ❏ CNF_TaxPackage(Last_UserId_Log) | |
| FK_DATA_SaleCoupon_Last_UserId_Log | UserId ↙ ❏ DATA_SaleCoupon(Last_UserId_Log) | |
| FK_DATA_Notification2Entity_Last_UserId_Log | UserId ↙ ❏ DATA_Notification2Entity(Last_UserId_Log) | |
| FK_DATA_SaleItem2CostCenter_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItem2CostCenter(Last_UserId_Log) | |
| FK_CNF_PerformanceCategoryValidity_Last_UserId_Log | UserId ↙ ❏ CNF_PerformanceCategoryValidity(Last_UserId_Log) | |
| FK_DATA_SaleItem_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItem(Last_UserId_Log) | |
| FK_CNF_TimeSlot_Last_UserId_Log | UserId ↙ ❏ CNF_TimeSlot(Last_UserId_Log) | |
| FK_RES_CNF_Event_Last_UserId_Log | UserId ↙ ❏ RES_CNF_Event(Last_UserId_Log) | |
| FK_CNF_UpSell_Last_UserId_Log | UserId ↙ ❏ CNF_UpSell(Last_UserId_Log) | |
| FK_DATA_SaleItem_Combo_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItem_Combo(Last_UserId_Log) | |
| FK_CNF_Trigger_Last_UserId_Log | UserId ↙ ❏ CNF_Trigger(Last_UserId_Log) | |
| FK_CNF_PerformanceFilter_Last_UserId_Log | UserId ↙ ❏ CNF_PerformanceFilter(Last_UserId_Log) | |
| FK__WEB_News__UserId__0000D72E | UserId ↙ ❏ WEB_News | |
| FK_DATA_PaymentFlexInfo_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentFlexInfo(Last_UserId_Log) | |
| FK_DATA_PaymentFlexInfo_UserId | UserId ↙ ❏ DATA_PaymentFlexInfo | |
| FK_RES_CNF_MatrixCell_Last_UserId_Log | UserId ↙ ❏ RES_CNF_MatrixCell(Last_UserId_Log) | |
| FK_DATA_SaleItem2Account_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItem2Account(Last_UserId_Log) | |
| FK_CNF_Upgrade_Last_UserId_Log | UserId ↙ ❏ CNF_Upgrade(Last_UserId_Log) | |
| FK_CNF_Envelope_Last_UserId_Log | UserId ↙ ❏ CNF_Envelope(Last_UserId_Log) | |
| FK_RES_CNF_Performance_Last_UserId_Log | UserId ↙ ❏ RES_CNF_Performance(Last_UserId_Log) | |
| FK_CNF_MatrixCell2Delivery_Last_UserId_Log | UserId ↙ ❏ CNF_MatrixCell2Delivery(Last_UserId_Log) | |
| FK_CNF_PerformanceSeat_Last_UserId_Log | UserId ↙ ❏ CNF_PerformanceSeat(Last_UserId_Log) | |
| FK_ADM_AccessConfiguration_Last_UserId_Log | UserId ↙ ❏ ADM_AccessConfiguration(Last_UserId_Log) | |
| FK_DATA_SaleItem2Dmg_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItem2Dmg(Last_UserId_Log) | |
| FK_CNF_DataMaskMultiUnique_Last_UserId_Log | UserId ↙ ❏ CNF_DataMaskMultiUnique(Last_UserId_Log) | |
| FK_RES_CNF_Requirement_Last_UserId_Log | UserId ↙ ❏ RES_CNF_Requirement(Last_UserId_Log) | |
| FK_CNF_DonationForm_Last_UserId_Log | UserId ↙ ❏ CNF_DonationForm(Last_UserId_Log) | |
| FK__CNF_Envel__UserI__4D555BD0 | UserId ↙ ❏ CNF_Envelope_Permission | |
| FK_CNF_Envelope_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_Envelope_Permission(Last_UserId_Log) | |
| FK_CNF_StatisticalGroup2Promotion_Last_UserId_Log | UserId ↙ ❏ CNF_StatisticalGroup2Promotion(Last_UserId_Log) | |
| FK_DATA_SaleItem2Performance_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItem2Performance(Last_UserId_Log) | |
| FK_CNF_PriceList_Last_UserId_Log | UserId ↙ ❏ CNF_PriceList(Last_UserId_Log) | |
| FK_RES_CNF_RequirementGroup_Last_UserId_Log | UserId ↙ ❏ RES_CNF_RequirementGroup(Last_UserId_Log) | |
| FK__ADM_Acces__Logge__6379A719 | UserId ↙ ❏ ADM_AccessPoint(LoggedUserId) | |
| FK_ADM_AccessPoint_UserId | UserId ↙ ❏ ADM_AccessPoint(Last_UserId_Log) | |
| FK_CNF_UpSell_Validity_Last_UserId_Log | UserId ↙ ❏ CNF_UpSell_Validity(Last_UserId_Log) | |
| FK_DATA_SaleItem2Ticket_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItem2Ticket(Last_UserId_Log) | |
| FK__CNF_User__Master__341F99B2 | UserId ↙ ❏ CNF_User(MasterUserId) | |
| FK_CNF_User_Last_UserId_Log | UserId ↙ ❏ CNF_User(Last_UserId_Log) | |
| FK_CNF_PriceTable_Last_UserId_Log | UserId ↙ ❏ CNF_PriceTable(Last_UserId_Log) | |
| FK_CNF_EnvelopeCapacity_Last_UserId_Log | UserId ↙ ❏ CNF_EnvelopeCapacity(Last_UserId_Log) | |
| FK_RES_CNF_RequirementTemplate_Last_UserId_Log | UserId ↙ ❏ RES_CNF_RequirementTemplate(Last_UserId_Log) | |
| FK_ADM_Gate_Last_UserId_Log | UserId ↙ ❏ ADM_Gate(Last_UserId_Log) | |
| FK_DATA_SaleItemRule_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItemRule(Last_UserId_Log) | |
| FK__CNF_User2__UserI__36FC065D | UserId ↙ ❏ CNF_User2Group | |
| FK_CNF_User2Group_Last_UserId_Log | UserId ↙ ❏ CNF_User2Group(Last_UserId_Log) | |
| FK__CNF_Envel__UserI__58C70E7C | UserId ↙ ❏ CNF_EnvelopeRight | |
| FK_CNF_EnvelopeRight_Last_UserId_Log | UserId ↙ ❏ CNF_EnvelopeRight(Last_UserId_Log) | |
| FK_RES_CNF_RequirementTemplateItem_Last_UserId_Log | UserId ↙ ❏ RES_CNF_RequirementTemplateItem(Last_UserId_Log) | |
| FK__CNF_UpSel__UserI__6478B84A | UserId ↙ ❏ CNF_UpSell_Permission | |
| FK_CNF_UpSell_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_UpSell_Permission(Last_UserId_Log) | |
| FK_CNF_Producer_Last_UserId_Log | UserId ↙ ❏ CNF_Producer(Last_UserId_Log) | |
| FK_CNF_SeasonalRule_Last_UserId_Log | UserId ↙ ❏ CNF_SeasonalRule(Last_UserId_Log) | |
| FK_DATA_SalePromotionRule_Last_UserId_Log | UserId ↙ ❏ DATA_SalePromotionRule(Last_UserId_Log) | |
| FK_CNF_UserGroup_Last_UserId_Log | UserId ↙ ❏ CNF_UserGroup(Last_UserId_Log) | |
| FK_RES_CNF_RequirementTemplateSet_Last_UserId_Log | UserId ↙ ❏ RES_CNF_RequirementTemplateSet(Last_UserId_Log) | |
| FK_ADM_Gate2AccessConfiguration_Last_UserId_Log | UserId ↙ ❏ ADM_Gate2AccessConfiguration(Last_UserId_Log) | |
| FK_DATA_TicketExport_UserId | UserId ↙ ❏ DATA_TicketExport | |
| FK_CNF_Product_Last_UserId_Log | UserId ↙ ❏ CNF_Product(Last_UserId_Log) | |
| FK_CNF_Event_Last_UserId_Log | UserId ↙ ❏ CNF_Event(Last_UserId_Log) | |
| FK_DATA_SaleTax_Last_UserId_Log | UserId ↙ ❏ DATA_SaleTax(Last_UserId_Log) | |
| FK_CNF_VenueMap_Last_UserId_Log | UserId ↙ ❏ CNF_VenueMap(Last_UserId_Log) | |
| FK_RES_CNF_RequirementType_Last_UserId_Log | UserId ↙ ❏ RES_CNF_RequirementType(Last_UserId_Log) | |
| FK_CNF_VenueMapItem_Last_UserId_Log | UserId ↙ ❏ CNF_VenueMapItem(Last_UserId_Log) | |
| FK__CNF_Event__UserI__67152DD3 | UserId ↙ ❏ CNF_Event_Permission | |
| FK_CNF_Event_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_Event_Permission(Last_UserId_Log) | |
| FK_RES_CNF_Resource_Last_UserId_Log | UserId ↙ ❏ RES_CNF_Resource(Last_UserId_Log) | |
| FK_CNF_ProductValidity_Last_UserId_Log | UserId ↙ ❏ CNF_ProductValidity(Last_UserId_Log) | |
| FK_CNF_Delivery_Last_UserId_Log | UserId ↙ ❏ CNF_Delivery(Last_UserId_Log) | |
| FK_DATA_BOS2CRMEntity_Last_UserId_Log | UserId ↙ ❏ DATA_BOS2CRMEntity(Last_UserId_Log) | |
| FK_CNF_Workstation_Last_UserId_Log | UserId ↙ ❏ CNF_Workstation(Last_UserId_Log) | |
| FK_CNF_EventFilter_Last_UserId_Log | UserId ↙ ❏ CNF_EventFilter(Last_UserId_Log) | |
| FK_CNF_ProductValidity2Event_Last_UserId_Log | UserId ↙ ❏ CNF_ProductValidity2Event(Last_UserId_Log) | |
| FK_RES_CNF_ResourceContract_Last_UserId_Log | UserId ↙ ❏ RES_CNF_ResourceContract(Last_UserId_Log) | |
| FK__DATA_Sess__UserI__432CD318 | UserId ↙ ❏ DATA_Session | |
| FK_DATA_CashDrawerSession_UserId | UserId ↙ ❏ DATA_CashDrawerSession | |
| FK_CNF_WorkstationDevice_Last_UserId_Log | UserId ↙ ❏ CNF_WorkstationDevice(Last_UserId_Log) | |
| FK_CNF_Projection_Last_UserId_Log | UserId ↙ ❏ CNF_Projection(Last_UserId_Log) | |
| FK_CNF_ExchangeRate_Last_UserId_Log | UserId ↙ ❏ CNF_ExchangeRate(Last_UserId_Log) | |
| FK_CNF_AccessFilter_Last_UserId_Log | UserId ↙ ❏ CNF_AccessFilter(Last_UserId_Log) | |
| FK_RES_CNF_ResourcePriority_Last_UserId_Log | UserId ↙ ❏ RES_CNF_ResourcePriority(Last_UserId_Log) | |
| FK__DATA_Shop__UserI__46093FC3 | UserId ↙ ❏ DATA_ShopCartItem | |
| FK_CNF_FlexPlanTemplate_Last_UserId_Log | UserId ↙ ❏ CNF_FlexPlanTemplate(Last_UserId_Log) | |
| FK__CNF_ExtCa__UserI__737B04B8 | UserId ↙ ❏ CNF_ExtCardTypePermission | |
| FK_CNF_ExtCardTypePermission_Last_UserId_Log | UserId ↙ ❏ CNF_ExtCardTypePermission(Last_UserId_Log) | |
| FK_CNF_CustomColor_Last_UserId_Log | UserId ↙ ❏ CNF_CustomColor(Last_UserId_Log) | |
| FK_CNF_AlternativeCodes_Last_UserId_Log | UserId ↙ ❏ CNF_AlternativeCodes(Last_UserId_Log) | |
| FK__DATA_Acco__InsUs__3F914C5E | UserId ↙ ❏ DATA_Account(InsUserId) | |
| FK__DATA_Acco__UpdUs__417994D0 | UserId ↙ ❏ DATA_Account(UpdUserId) | |
| FK__DATA_Acco__UserI__426DB909 | UserId ↙ ❏ DATA_Account | |
| FK_DATA_Account_Last_UserId_Log | UserId ↙ ❏ DATA_Account(Last_UserId_Log) | |
| FK_CNF_Promotion_Last_UserId_Log | UserId ↙ ❏ CNF_Promotion(Last_UserId_Log) | |
| fk_CNF_Promotion_UserID | UserId ↙ ❏ CNF_Promotion(UserID) | |
| FK_RES_CNF_ResourceRequirement_Last_UserId_Log | UserId ↙ ❏ RES_CNF_ResourceRequirement(Last_UserId_Log) | |
| FK_CNF_SuggestiveSell_Last_UserId_Log | UserId ↙ ❏ CNF_SuggestiveSell(Last_UserId_Log) | |
| FK_CNF_ExternalCardType_Last_UserId_Log | UserId ↙ ❏ CNF_ExternalCardType(Last_UserId_Log) | |
| FK__DATA_Acco__UserI__47326E26 | UserId ↙ ❏ DATA_AccountFinancial | |
| FK_DATA_AccountFinancial_Last_UserId_Log | UserId ↙ ❏ DATA_AccountFinancial(Last_UserId_Log) | |
| FK_CNF_Promotion_Quota_Last_UserId_Log | UserId ↙ ❏ CNF_Promotion_Quota(Last_UserId_Log) | |
| FK_DATA_TicketOptions_Last_UserId_Log | UserId ↙ ❏ DATA_TicketOptions(Last_UserId_Log) | |
| FK_RES_CNF_ResourceRequirementAllowed_Last_UserId_Log | UserId ↙ ❏ RES_CNF_ResourceRequirementAllowed(Last_UserId_Log) | |
| FK__DATA_Surv__InsUs__49D9D0A7 | UserId ↙ ❏ DATA_SurveyItem(InsUserId) | |
| FK_CNF_SuggestiveSell_Permission_Last_UserId_Log | UserId ↙ ❏ CNF_SuggestiveSell_Permission(Last_UserId_Log) | |
| FK__DATA_Tick__UserI__26D08B8C | UserId ↙ ❏ DATA_TicketStatus | |
| FK_CNF_ExternalMediaType_Last_UserId_Log | UserId ↙ ❏ CNF_ExternalMediaType(Last_UserId_Log) | |
| FK_DATA_AccountRelationship_Last_UserId_Log | UserId ↙ ❏ DATA_AccountRelationship(Last_UserId_Log) | |
| FK_RES_CNF_ResourceType_Last_UserId_Log | UserId ↙ ❏ RES_CNF_ResourceType(Last_UserId_Log) | |
| FK_CNF_PromotionAssociation_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionAssociation(Last_UserId_Log) | |
| FK_CNF_ExternalStoredInfo_Last_UserId_Log | UserId ↙ ❏ CNF_ExternalStoredInfo(Last_UserId_Log) | |
| FK_DATA_Ticket_Last_UserId_Log | UserId ↙ ❏ DATA_Ticket(Last_UserId_Log) | |
| FK_DATA_Media2Performances_Last_UserId_Log | UserId ↙ ❏ DATA_Media2Performances(Last_UserId_Log) | |
| FK_DATA_AddressVerification_Last_UserId_Log | UserId ↙ ❏ DATA_AddressVerification(Last_UserId_Log) | |
| FK_RES_CNF_ResourceType_Requirement_Last_UserId_Log | UserId ↙ ❏ RES_CNF_ResourceType_Requirement(Last_UserId_Log) | |
| FK_CNF_PromotionEvent_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionEvent(Last_UserId_Log) | |
| CNF_ExtTckRange_UserId | UserId ↙ ❏ CNF_ExternalTicketRange | |
| FK_CNF_ExternalTicketRange_Last_UserId_Log | UserId ↙ ❏ CNF_ExternalTicketRange(Last_UserId_Log) | |
| FK_DATA_Ticket2Media_Last_UserId_Log | UserId ↙ ❏ DATA_Ticket2Media(Last_UserId_Log) | |
| FK_RES_CNF_ScheduleTypeAllowed_Last_UserId_Log | UserId ↙ ❏ RES_CNF_ScheduleTypeAllowed(Last_UserId_Log) | |
| FK_CNF_CRMTemplate_Last_UserId_Log | UserId ↙ ❏ CNF_CRMTemplate(Last_UserId_Log) | |
| FK_CNF_PromotionItem_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionItem(Last_UserId_Log) | |
| fk_CNF_PromotionItem_UserID | UserId ↙ ❏ CNF_PromotionItem(UserID) | |
| FK_CNF_Attribute_Last_UserId_Log | UserId ↙ ❏ CNF_Attribute(Last_UserId_Log) | |
| FK_DATA_Ticket2Performance_Last_UserId_Log | UserId ↙ ❏ DATA_Ticket2Performance(Last_UserId_Log) | |
| FK_CNF_SuggestiveSell2Event_Last_UserId_Log | UserId ↙ ❏ CNF_SuggestiveSell2Event(Last_UserId_Log) | |
| FK_DATA_BankAccount_Last_UserId_Log | UserId ↙ ❏ DATA_BankAccount(Last_UserId_Log) | |
| FK_DATA_AccountCardOnFile_UserId | UserId ↙ ❏ DATA_AccountCardOnFile(Last_UserId_Log) | |
| FK_RES_Data_Transaction_Last_UserId_Log | UserId ↙ ❏ RES_Data_Transaction(Last_UserId_Log) | |
| FK_CNF_PromotionItem_Quota_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionItem_Quota(Last_UserId_Log) | |
| FK__DATA_Tick__UserI__591C1437 | UserId ↙ ❏ DATA_TicketStatusLog | |
| FK_DATA_Batch_Last_UserId_Log | UserId ↙ ❏ DATA_Batch(Last_UserId_Log) | |
| FK_CNF_CRMTemplateDetail_Last_UserId_Log | UserId ↙ ❏ CNF_CRMTemplateDetail(Last_UserId_Log) | |
| FK_RES_ResourceCalendar_Last_UserId_Log | UserId ↙ ❏ RES_ResourceCalendar(Last_UserId_Log) | |
| FK__CNF_Attri__UserI__7D39791C | UserId ↙ ❏ CNF_Attribute_SaleValidity | |
| FK_CNF_Attribute_SaleValidity_Last_UserId_Log | UserId ↙ ❏ CNF_Attribute_SaleValidity(Last_UserId_Log) | |
| FK_CNF_FiscalYear_Last_UserId_Log | UserId ↙ ❏ CNF_FiscalYear(Last_UserId_Log) | |
| FK_DATA_TicketUpgrade_Last_UserId_Log | UserId ↙ ❏ DATA_TicketUpgrade(Last_UserId_Log) | |
| FK_CNF_SuggestiveSell2MatrixCell_Last_UserId_Log | UserId ↙ ❏ CNF_SuggestiveSell2MatrixCell(Last_UserId_Log) | |
| FK_CNF_PromotionItemRule_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionItemRule(Last_UserId_Log) | |
| fk_CNF_PromotionItemRule_UserID | UserId ↙ ❏ CNF_PromotionItemRule(UserID) | |
| FK_DATA_PaymentHotel_Last_UserId_Log | UserId ↙ ❏ DATA_PaymentHotel(Last_UserId_Log) | |
| FK_RES_ResourceCalendar_TimeFrame_Last_UserId_Log | UserId ↙ ❏ RES_ResourceCalendar_TimeFrame(Last_UserId_Log) | |
| FK_CNF_AttributeSet_Last_UserId_Log | UserId ↙ ❏ CNF_AttributeSet(Last_UserId_Log) | |
| FK_DATA_Biometric_Last_UserId_Log | UserId ↙ ❏ DATA_Biometric(Last_UserId_Log) | |
| fk_DATA_TicketUsage_UserId | UserId ↙ ❏ DATA_TicketUsage | |
| FK__CNF_Promo__UserI__66E023A9 | UserId ↙ ❏ CNF_PromotionPermission | |
| FK_CNF_PromotionPermission_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionPermission(Last_UserId_Log) | |
| FK_CNF_FlexContract_Last_UserId_Log | UserId ↙ ❏ CNF_FlexContract(Last_UserId_Log) | |
| FK_RES_Schedule_Last_UserId_Log | UserId ↙ ❏ RES_Schedule(Last_UserId_Log) | |
| FK_CNF_AttributeSetDetail_Last_UserId_Log | UserId ↙ ❏ CNF_AttributeSetDetail(Last_UserId_Log) | |
| FK__DATA_Box__UserId__4FC7B427 | UserId ↙ ❏ DATA_Box | |
| FK_CNF_SuggestiveSell2StatisticalGroup_Last_UserId_Log | UserId ↙ ❏ CNF_SuggestiveSell2StatisticalGroup(Last_UserId_Log) | |
| FK_CNF_RenewalContract_UserId | UserId ↙ ❏ CNF_RenewalContract(Last_UserId_Log) | |
| FK_CNF_PromotionProduct_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionProduct(Last_UserId_Log) | |
| FK_RES_ScheduleDetail_Last_UserId_Log | UserId ↙ ❏ RES_ScheduleDetail(Last_UserId_Log) | |
| FK_CNF_AttributeTemplate_Last_UserId_Log | UserId ↙ ❏ CNF_AttributeTemplate(Last_UserId_Log) | |
| FK_DATA_SaleItemTax_Last_UserId_Log | UserId ↙ ❏ DATA_SaleItemTax(Last_UserId_Log) | |
| FK_CNF_FundCash_Last_UserId_Log | UserId ↙ ❏ CNF_FundCash(Last_UserId_Log) | |
| FK__DATA_Tran__UserI__685E57C7 | UserId ↙ ❏ DATA_Transaction | |
| FK_DATA_Transaction_Last_UserId_Log | UserId ↙ ❏ DATA_Transaction(Last_UserId_Log) | |
| FK_CNF_PromotionValidity_Last_UserId_Log | UserId ↙ ❏ CNF_PromotionValidity(Last_UserId_Log) | |
| FK_CNF_TravelMatrix_Last_UserId_Log | UserId ↙ ❏ CNF_TravelMatrix(Last_UserId_Log) | |
| FK_RES_ScheduleType_Last_UserId_Log | UserId ↙ ❏ RES_ScheduleType(Last_UserId_Log) | |
| FK_DATA_CapacityCounter_Last_UserId_Log | UserId ↙ ❏ DATA_CapacityCounter(Last_UserId_Log) | |
| FK_CNF_FundItem_Last_UserId_Log | UserId ↙ ❏ CNF_FundItem(Last_UserId_Log) | |
| FK_CNF_Donation_Last_UserId_Log | UserId ↙ ❏ CNF_Donation(Last_UserId_Log) | |
| FK_CNF_SuggestiveSell2EventCategory_Last_UserId_Log | UserId ↙ ❏ CNF_SuggestiveSell2EventCategory(Last_UserId_Log) | |
| FK_DATA_DeviceOperations_Last_UserId_Log | UserId ↙ ❏ DATA_DeviceOperations(Last_UserId_Log) | |
| FK_SEAT_CNF_SpaceStructureSeat_Last_UserId_Log | UserId ↙ ❏ SEAT_CNF_SpaceStructureSeat(Last_UserId_Log) | |
| FK__CNF_Board__UserI__03E676AB | UserId ↙ ❏ CNF_BoardFav | |
| FK_CNF_BoardFav_Last_UserId_Log | UserId ↙ ❏ CNF_BoardFav(Last_UserId_Log) | |
| FK_DATA_Transaction2Media_Last_UserId_Log | UserId ↙ ❏ DATA_Transaction2Media(Last_UserId_Log) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | User2Group | int IDENTITY |
| * | UserId | int |
| * | UserGroupId | int |
| IsDefault | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_User__C0FA0D19CF751C8B | Primary Key ON User2Group | |
| Foreign Key | ||
| FK__CNF_User2__UserG__3607E224 | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK__CNF_User2__UserI__36FC065D | UserId ↗ ❏ CNF_User | |
| FK_CNF_User2Group_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_User2Group_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UserGroupId | int IDENTITY |
| * | UserGroupType | smallint |
| * | Enabled | smallint |
| * | UserGroupName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | UserGroupCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| UserGroupDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| * | UserGroupLevel | smallint |
| * | SystemId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | UserGroupAK | nvarchar(32) COLLATE Latin1_General_CI_AS |
| Note | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_User__FA5A61C0F21D580F | Primary Key ON UserGroupId | |
| Foreign Key | ||
| FK_CNF_UserGroup_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_UserGroup_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_CNF_UserGroup_SystemId | SystemId ↗ ❏ CNF_System | |
| Referring Foreign Key | ||
| FK__CNF_Matri__UserG__062EB1D0 | UserGroupId ↙ ❏ CNF_MatrixCellPermission | |
| FK_Donation_Permission_UserGroupId | UserGroupId ↙ ❏ CNF_Donation_Permission | |
| FK_Trigger_Permission_UserGroupId | UserGroupId ↙ ❏ CNF_Trigger_Permission | |
| fk_CNF_ShopCartValidation_Permission_UserGroupId | UserGroupId ↙ ❏ CNF_ShopCartValidation_Permission | |
| fk_DATA_UserLog_UserGroupId | UserGroupId ↙ ❏ DATA_UserLog | |
| FK__CNF_SeatC__UserG__7DC38901 | UserGroupId ↙ ❏ CNF_SeatCategory_Permission | |
| FK_RR_DATA_Revenue_CNF_UserGroup_UserGroupId | UserGroupId ↙ ❏ RR_DATA_Revenue | |
| FK__CNF_Perfo__UserG__2E3CA32A | UserGroupId ↙ ❏ CNF_Performance_Permission | |
| FK__CNF_Site___UserG__0EEE1503 | UserGroupId ↙ ❏ CNF_Site_LoginPermission | |
| FK__CNF_Deliv__UserG__2C3F4C1F | UserGroupId ↙ ❏ CNF_Delivery_Permission | |
| FK_CNF_TicketPackageGroupPermission_UserGroupId | UserGroupId ↙ ❏ CNF_TicketPackageGroupPermission | |
| FK__CNF_Matri__UserG__2ACB39A2 | UserGroupId ↙ ❏ CNF_MatrixSheet_SaleValidity | |
| FK__CNF_DmgCa__UserG__2CE88C3E | UserGroupId ↙ ❏ CNF_DmgCategory_Permission | |
| FK__CNF_DocTe__UserG__3C2ACFCE | UserGroupId ↙ ❏ CNF_DocTemplate_Permission | |
| FK__CNF_Envel__UserG__4C613797 | UserGroupId ↙ ❏ CNF_Envelope_Permission | |
| FK__CNF_User2__UserG__3607E224 | UserGroupId ↙ ❏ CNF_User2Group | |
| FK__CNF_Envel__UserG__57D2EA43 | UserGroupId ↙ ❏ CNF_EnvelopeRight | |
| FK__CNF_UpSel__UserG__656CDC83 | UserGroupId ↙ ❏ CNF_UpSell_Permission | |
| FK__CNF_Event__UserG__6621099A | UserGroupId ↙ ❏ CNF_Event_Permission | |
| FK__CNF_ExtCa__UserG__7286E07F | UserGroupId ↙ ❏ CNF_ExtCardTypePermission | |
| fk_CNF_SuggestiveSell_Permission_UserGroupId | UserGroupId ↙ ❏ CNF_SuggestiveSell_Permission | |
| FK__CNF_Attri__UserG__7C4554E3 | UserGroupId ↙ ❏ CNF_Attribute_SaleValidity | |
| FK__CNF_Promo__UserG__65EBFF70 | UserGroupId ↙ ❏ CNF_PromotionPermission | |
| fk_DATA_Transaction_UserGroupId | UserGroupId ↙ ❏ DATA_Transaction | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ValidateWhitelistID | int IDENTITY |
| * | ValidateResult | int |
| ValidateDescription | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Vali__853A12191371FFC3 | Primary Key ON ValidateWhitelistID | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | VenueMapId | int IDENTITY |
| * | VenueMapAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | SiteId | int |
| * | MapName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| MapDescription | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Venu__5C2BBD76C6E2162D | Primary Key ON VenueMapId | |
| Foreign Key | ||
| FK__CNF_Venue__SiteI__37F02A96 | SiteId ↗ ❏ CNF_Site | |
| FK_CNF_VenueMap_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_VenueMap_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Venue__Venue__38E44ECF | VenueMapId ↙ ❏ CNF_VenueMapItem | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | VenueMapItemId | int IDENTITY |
| * | VenueMapId | int |
| * | MapItemName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| MapItemDescription | nvarchar(1000) COLLATE Latin1_General_CI_AS | |
| PointX | int | |
| PointY | int | |
| * | DisplayX | int |
| * | DisplayY | int |
| * | Status | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DetailXML | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__CNF_Venu__66EDABD3CD62646A | Primary Key ON VenueMapItemId | |
| Foreign Key | ||
| FK__CNF_Venue__Venue__38E44ECF | VenueMapId ↗ ❏ CNF_VenueMap | |
| FK_CNF_VenueMapItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_VenueMapItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | WorkstationId | int IDENTITY |
| * | WorkstationAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | SiteId | int |
| * | WorkstationType | smallint |
| * | WorkstationCode | smallint |
| * | OperatingAreaId | int |
| * | WorkstationDescription | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Enabled | smallint |
| IPAddress | varchar(15) COLLATE Latin1_General_CI_AS | |
| ConnectionPort | int | |
| * | AutomaticIP | smallint |
| ExternalCode | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| LoadTicket | int | |
| ThresholdDelta | int | |
| UserLogId | int | |
| version | varchar(20) COLLATE Latin1_General_CI_AS | |
| DmgCategoryId | int | |
| * | HasApt | smallint |
| * | WebSalesInd | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Work__35183A4DE04BE7B0 | Primary Key ON WorkstationId | |
| UQ__CNF_Work__35187B1B0E3ED9A7 | Unique Key ON WorkstationAK | |
| UQ_Workstation | Unique Index ON SiteId, WorkstationType, WorkstationCode | |
| IX_CNF_Workstation_Enabled_IPAddress | Index ON Enabled, IPAddress | |
| Foreign Key | ||
| FK__CNF_Works__Opera__39D87308 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__CNF_Works__SiteI__3ACC9741 | SiteId ↗ ❏ CNF_Site | |
| fk_CNF_Workstation_CNF_DmgCategory | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_CNF_Workstation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_Workstation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__Works__053A8D97 | WorkstationId ↙ ❏ CNF_MatrixCellPermission | |
| FK_CNF_MatrixCellPermission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCellPermission(Last_WorkstationId_Log) | |
| FK_DATA_CapacityCounterRef_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_CapacityCounterRef(Last_WorkstationId_Log) | |
| FK__DATA_Secu__Works__03D16812 | WorkstationId ↙ ❏ DATA_SecurityChangeLog | |
| FK_CNF_TravelTime_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_TravelTime(Last_WorkstationId_Log) | |
| FK_CNF_FundType_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_FundType(Last_WorkstationId_Log) | |
| FK_Donation_Permission_WorkstationId | WorkstationId ↙ ❏ CNF_Donation_Permission | |
| FK_CNF_BoardPackage_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_BoardPackage(Last_WorkstationId_Log) | |
| FK_DATA_Transaction2Ticket_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Transaction2Ticket(Last_WorkstationId_Log) | |
| FK_Trigger_Permission_WorkstationId | WorkstationId ↙ ❏ CNF_Trigger_Permission | |
| FK_CNF_RoundingRule_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_RoundingRule(Last_WorkstationId_Log) | |
| FK_CNF_ShopCartValidation_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ShopCartValidation(Last_WorkstationId_Log) | |
| FK_DATA_TransactionItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_TransactionItem(Last_WorkstationId_Log) | |
| FK_CNF_Geo_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Geo(Last_WorkstationId_Log) | |
| FK_CNF_Notification_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Notification(Last_WorkstationId_Log) | |
| FK_CNF_MatrixCell2Donation_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCell2Donation(Last_WorkstationId_Log) | |
| FK_DATA_Batch2Reservation_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Batch2Reservation(Last_WorkstationId_Log) | |
| FK_CNF_PswDictionary_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PswDictionary(Last_WorkstationId_Log) | |
| FK_CNF_ShopCartValidationItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ShopCartValidationItem(Last_WorkstationId_Log) | |
| FK_CNF_Calendar_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Calendar(Last_WorkstationId_Log) | |
| FK_DATA_TransactionItem_Combo_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_TransactionItem_Combo(Last_WorkstationId_Log) | |
| FK_CNF_DBTable2DBGroup_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DBTable2DBGroup(Last_WorkstationId_Log) | |
| FK__SIAE_Card__Works__4F5D9FD3 | WorkstationId ↙ ❏ SIAE_Card | |
| FK_DATA_TransactionItemRule_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_TransactionItemRule(Last_WorkstationId_Log) | |
| FK_DATA_Coupon_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Coupon(Last_WorkstationId_Log) | |
| FK_CNF_SALTO_PERIPHERALS_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SALTO_PERIPHERALS(Last_WorkstationId_Log) | |
| FK_CNF_CalendarTimeFrame_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CalendarTimeFrame(Last_WorkstationId_Log) | |
| FK_CNF_ShopCartValidation_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ShopCartValidation_Permission(Last_WorkstationId_Log) | |
| fk_CNF_ShopCartValidation_Permission_WorkstationId | WorkstationId ↙ ❏ CNF_ShopCartValidation_Permission | |
| FK_CNF_IncentiveTicket_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_IncentiveTicket(Last_WorkstationId_Log) | |
| FK_DATA_TransactionTax_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_TransactionTax(Last_WorkstationId_Log) | |
| FK__DATA_DBUp__Works__55808D7D | WorkstationId ↙ ❏ DATA_DBUpdateLog | |
| FK_DATA_Biometric2Ticket_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Biometric2Ticket(Last_WorkstationId_Log) | |
| FK_CNF_SALTO_ZONE_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SALTO_ZONE(Last_WorkstationId_Log) | |
| FK_CNF_MatrixCell2FlexContract_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCell2FlexContract(Last_WorkstationId_Log) | |
| FK_CNF_CalendarTimeFrameItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CalendarTimeFrameItem(Last_WorkstationId_Log) | |
| FK_CNF_Language_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Language(Last_WorkstationId_Log) | |
| FK__DATA_Depo__Works__585CFA28 | WorkstationId ↙ ❏ DATA_Deposit | |
| FK_CNF_CalendarValidity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CalendarValidity(Last_WorkstationId_Log) | |
| FK_DATA_RenewalPlan_WorkstationId | WorkstationId ↙ ❏ DATA_RenewalPlan(Last_WorkstationId_Log) | |
| FK__CNF_Sched__Works__6F7569AA | WorkstationId ↙ ❏ CNF_Scheduler | |
| FK_CNF_Scheduler_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Scheduler(Last_WorkstationId_Log) | |
| FK__DATA_Trig__CmpWo__7B712C3B | WorkstationId ↙ ❏ DATA_TriggerItem(CmpWorkstationId) | |
| FK__DATA_Trig__InsWo__7E4D98E6 | WorkstationId ↙ ❏ DATA_TriggerItem(InsWorkstationId) | |
| FK__DATA_Trig__UpdWo__0035E158 | WorkstationId ↙ ❏ DATA_TriggerItem(UpdWorkstationId) | |
| FK_CNF_LedgerAccount_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_LedgerAccount(Last_WorkstationId_Log) | |
| FK_CNF_Seat_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Seat(Last_WorkstationId_Log) | |
| FK_COA_CNF_AccountConfig_Last_WorkstationId_Log | WorkstationId ↙ ❏ COA_CNF_AccountConfig(Last_WorkstationId_Log) | |
| FK__DATA_Trig__Works__03124E03 | WorkstationId ↙ ❏ DATA_TriggerItemLog | |
| FK_RR_CNF_RevenueRecognitionRuleSchedule_Last_WorkstationId_Log | WorkstationId ↙ ❏ RR_CNF_RevenueRecognitionRuleSchedule(Last_WorkstationId_Log) | |
| FK_CNF_License_Last_WorkstationId_Log | WorkstationId ↙ ❏ _CNF_License(Last_WorkstationId_Log) | |
| FK_COA_CNF_AccountType_Last_WorkstationId_Log | WorkstationId ↙ ❏ COA_CNF_AccountType(Last_WorkstationId_Log) | |
| FK_DATA_Product_WorkstationId | WorkstationId ↙ ❏ DATA_Product | |
| FK_CNF_SeatCategory_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeatCategory(Last_WorkstationId_Log) | |
| FK__DATA_User__Works__04FA9675 | WorkstationId ↙ ❏ DATA_UserLog | |
| FK_CNF_Location_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Location(Last_WorkstationId_Log) | |
| FK_COA_CNF_Account_Last_WorkstationId_Log | WorkstationId ↙ ❏ COA_CNF_Account(Last_WorkstationId_Log) | |
| FK_DATA_Voucher_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Voucher(Last_WorkstationId_Log) | |
| FK_CNF_FlexContractFee_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_FlexContractFee(Last_WorkstationId_Log) | |
| FK__CNF_SeatC__Works__7FABD173 | WorkstationId ↙ ❏ CNF_SeatCategory_Permission | |
| FK_CNF_SeatCategory_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeatCategory_Permission(Last_WorkstationId_Log) | |
| FK_CNF_Catalog_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Catalog(Last_WorkstationId_Log) | |
| FK_CNF_Promotion2Account_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Promotion2Account(Last_WorkstationId_Log) | |
| FK_DATA_VoucherItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_VoucherItem(Last_WorkstationId_Log) | |
| FK_DATA_DmgData_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_DmgData(Last_WorkstationId_Log) | |
| FK_CNF_DBTable_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DBTable(Last_WorkstationId_Log) | |
| FK_CNF_Catalog2Product_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Catalog2Product(Last_WorkstationId_Log) | |
| FK_DATA_RenewalPlanDetails_WorkstationId | WorkstationId ↙ ❏ DATA_RenewalPlanDetails(Last_WorkstationId_Log) | |
| FK_CNF_SeatLayout_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeatLayout(Last_WorkstationId_Log) | |
| FK_DATA_DmgData_Translate_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_DmgData_Translate(Last_WorkstationId_Log) | |
| FK_CNF_Category_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Category(Last_WorkstationId_Log) | |
| FK__DATA_Exce__Works__60F24029 | WorkstationId ↙ ❏ DATA_ExceptionLog | |
| FK_CNF_DBColumn_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DBColumn(Last_WorkstationId_Log) | |
| FK_CNF_SeatLayout2Template_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeatLayout2Template(Last_WorkstationId_Log) | |
| FK_CNF_Category2Product_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Category2Product(Last_WorkstationId_Log) | |
| FK_CNF_Mask_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Mask(Last_WorkstationId_Log) | |
| FK_RR_DATA_Revenue_CNF_Workstation_WorkstationId | WorkstationId ↙ ❏ RR_DATA_Revenue | |
| FK__DATA_Exte__Works__62DA889B | WorkstationId ↙ ❏ DATA_ExternalServiceLog | |
| FK_CNF_SeatLayoutItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeatLayoutItem(Last_WorkstationId_Log) | |
| FK_DATA_Ticket2TicketPackage_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Ticket2TicketPackage(Last_WorkstationId_Log) | |
| FK_CNF_SeatPerformance_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeatPerformance(Last_WorkstationId_Log) | |
| FK_CNF_Mask_Utility_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Mask_Utility(Last_WorkstationId_Log) | |
| FK_CNF_Combo_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Combo(Last_WorkstationId_Log) | |
| FK_RR_CNF_RevenueRecognitionRule_Last_WorkstationId_Log | WorkstationId ↙ ❏ RR_CNF_RevenueRecognitionRule(Last_WorkstationId_Log) | |
| FK_CNF_MatrixCell_Renew_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCell_Renew(Last_WorkstationId_Log) | |
| FK_CNF_SeatTemplate_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeatTemplate(Last_WorkstationId_Log) | |
| FK_CNF_MaskTable_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MaskTable(Last_WorkstationId_Log) | |
| FK_DATA_TicketPackage_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_TicketPackage(Last_WorkstationId_Log) | |
| FK_CNF_MaskTableItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MaskTableItem(Last_WorkstationId_Log) | |
| FK_CNF_Commission2Account_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Commission2Account(Last_WorkstationId_Log) | |
| FK_CNF_Invoice_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Invoice(Last_WorkstationId_Log) | |
| FK_DATA_Ledger_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Ledger(Last_WorkstationId_Log) | |
| FK_CNF_MaskTableItem_Translation_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MaskTableItem_Translation(Last_WorkstationId_Log) | |
| FK_CNF_CostCenter_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CostCenter(Last_WorkstationId_Log) | |
| FK_INV_ALU_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_ALU(Last_WorkstationId_Log) | |
| FK_DATA_Account2CRM_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Account2CRM(Last_WorkstationId_Log) | |
| FK_CNF_TicketPackageGroup_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_TicketPackageGroup(Last_WorkstationId_Log) | |
| FK_CNF_Site_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Site(Last_WorkstationId_Log) | |
| FK_DATA_ExtendedInfo_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_ExtendedInfo(Last_WorkstationId_Log) | |
| FK_DATA_InvoiceData_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_InvoiceData(Last_WorkstationId_Log) | |
| FK_CNF_MatrixCell_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCell(Last_WorkstationId_Log) | |
| FK_INV_Department_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_Department(Last_WorkstationId_Log) | |
| FK_CNF_CostCenter_Validity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CostCenter_Validity(Last_WorkstationId_Log) | |
| FK_DATA_Media_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Media(Last_WorkstationId_Log) | |
| FK_CNF_Performance_SaleValidity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Performance_SaleValidity(Last_WorkstationId_Log) | |
| FK_CNF_Performance_SaleValidity_WorkstationId | WorkstationId ↙ ❏ CNF_Performance_SaleValidity | |
| FK_DATA_TicketPackage2Group_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_TicketPackage2Group(Last_WorkstationId_Log) | |
| FK_CNF_MatrixCell_QuickUpgrade_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCell_QuickUpgrade(Last_WorkstationId_Log) | |
| FK_RR_CNF_Product_Last_WorkstationId_Log | WorkstationId ↙ ❏ RR_CNF_Product(Last_WorkstationId_Log) | |
| FK_DATA_ExtendedInfo2SaleItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_ExtendedInfo2SaleItem(Last_WorkstationId_Log) | |
| FK__CNF_Perfo__Works__2D487EF1 | WorkstationId ↙ ❏ CNF_Performance_Permission | |
| FK_CNF_Performance_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Performance_Permission(Last_WorkstationId_Log) | |
| FK_DATA_MediaIdentifier_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_MediaIdentifier(Last_WorkstationId_Log) | |
| FK__CNF_Site___Works__10D65D75 | WorkstationId ↙ ❏ CNF_Site_LoginPermission | |
| FK_CNF_Site_LoginPermission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Site_LoginPermission(Last_WorkstationId_Log) | |
| FK_CNF_LocationMatrix_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_LocationMatrix(Last_WorkstationId_Log) | |
| FK_CNF_MatrixCellInfo_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCellInfo(Last_WorkstationId_Log) | |
| FK__CNF_Deliv__Works__300FDD03 | WorkstationId ↙ ❏ CNF_Delivery_Permission | |
| FK_CNF_Delivery_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Delivery_Permission(Last_WorkstationId_Log) | |
| FK_DATA_PaymentFlex2SaleItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentFlex2SaleItem(Last_WorkstationId_Log) | |
| FK_CNF_Currency_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Currency(Last_WorkstationId_Log) | |
| FK_INV_Item_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_Item(Last_WorkstationId_Log) | |
| FK_STAT_Product_WorkstationId | WorkstationId ↙ ❏ STAT_Product | |
| FK_DATA_MediaIdentifierBlackList_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_MediaIdentifierBlackList(Last_WorkstationId_Log) | |
| FK_CNF_TicketPackageGroupPermission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_TicketPackageGroupPermission(Last_WorkstationId_Log) | |
| FK_CNF_TicketPackageGroupPermission_WorkstationId | WorkstationId ↙ ❏ CNF_TicketPackageGroupPermission | |
| FK_CNF_SpaceStructure_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SpaceStructure(Last_WorkstationId_Log) | |
| FK_CNF_CurrencyDetail_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CurrencyDetail(Last_WorkstationId_Log) | |
| FK_INV_ItemStock_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_ItemStock(Last_WorkstationId_Log) | |
| FK_STAT_CostCenter_WorkstationId | WorkstationId ↙ ❏ STAT_CostCenter | |
| FK_DATA_ExtendedInfo2Ticket_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_ExtendedInfo2Ticket(Last_WorkstationId_Log) | |
| FK_DATA_MediaStoredValue_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_MediaStoredValue(Last_WorkstationId_Log) | |
| FK_CNF_MatrixCellTranslation_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCellTranslation(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_Product_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_Product(Last_WorkstationId_Log) | |
| FK_CNF_DataMask_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DataMask(Last_WorkstationId_Log) | |
| FK_STAT_StatisticalGroup_WorkstationId | WorkstationId ↙ ❏ STAT_StatisticalGroup | |
| FK_DATA_VivaDotComSync_WorkstationId | WorkstationId ↙ ❏ DATA_VivaDotComSync(Last_WorkstationId_Log) | |
| FK_INV_Movement_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_Movement(Last_WorkstationId_Log) | |
| FK_DATA_NFCIdentifier_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_NFCIdentifier(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_ProductBarcodes_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_ProductBarcodes(Last_WorkstationId_Log) | |
| FK_CNF_DataMaskTranslation_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DataMaskTranslation(Last_WorkstationId_Log) | |
| FK_STAT_CreditCard_WorkstationId | WorkstationId ↙ ❏ STAT_CreditCard | |
| FK_CNF_StatisticalGroup_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_StatisticalGroup(Last_WorkstationId_Log) | |
| FK_CNF_DocTemplate2IdentifierType_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DocTemplate2IdentifierType(Last_WorkstationId_Log) | |
| FK_CNF_MatrixDimension_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixDimension(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_ProductCategory_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_ProductCategory(Last_WorkstationId_Log) | |
| FK_CNF_UpSell_Rule_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_UpSell_Rule(Last_WorkstationId_Log) | |
| FK_INV_PODetail_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_PODetail(Last_WorkstationId_Log) | |
| FK_STAT_Payment_WorkstationId | WorkstationId ↙ ❏ STAT_Payment | |
| FK_CNF_DmgCategory2CRMTemplate_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DmgCategory2CRMTemplate(Last_WorkstationId_Log) | |
| FK_CNF_MatrixSheet_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixSheet(Last_WorkstationId_Log) | |
| FK_DATA_Payment_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Payment(Last_WorkstationId_Log) | |
| FK_CNF_StatisticalGroupValidity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_StatisticalGroupValidity(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_ProductCombo_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_ProductCombo(Last_WorkstationId_Log) | |
| FK_STAT_Admission_WorkstationId | WorkstationId ↙ ❏ STAT_Admission | |
| FK__CNF_Matri__Works__2CB38214 | WorkstationId ↙ ❏ CNF_MatrixSheet_SaleValidity | |
| FK_CNF_MatrixSheet_SaleValidity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixSheet_SaleValidity(Last_WorkstationId_Log) | |
| FK_INV_PurchaseOrder_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_PurchaseOrder(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_ProductComboChoice_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_ProductComboChoice(Last_WorkstationId_Log) | |
| FK_DATA_PaymentAccount_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentAccount(Last_WorkstationId_Log) | |
| FK_CNF_Subscription_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Subscription(Last_WorkstationId_Log) | |
| FK_CNF_LocationMatrixPrice_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_LocationMatrixPrice(Last_WorkstationId_Log) | |
| FK_CNF_Merchant_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Merchant(Last_WorkstationId_Log) | |
| FK_CNF_DeliveryMode_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DeliveryMode(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_ProductUm_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_ProductUm(Last_WorkstationId_Log) | |
| FK_INV_Supplier_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_Supplier(Last_WorkstationId_Log) | |
| FK_DATA_PaymentB2B_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentB2B(Last_WorkstationId_Log) | |
| FK_CNF_DBGroup_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DBGroup(Last_WorkstationId_Log) | |
| FK_CNF_Device_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Device(Last_WorkstationId_Log) | |
| FK_CNF_Subscription2Performance_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Subscription2Performance(Last_WorkstationId_Log) | |
| FK__CNF_Merch__Works__308412F8 | WorkstationId ↙ ❏ CNF_MerchantTable | |
| FK_CNF_MerchantTable_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MerchantTable(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_Um_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_Um(Last_WorkstationId_Log) | |
| FK_INV_Transfer_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_Transfer(Last_WorkstationId_Log) | |
| FK__DATA_Paym__Works__006AEB82 | WorkstationId ↙ ❏ DATA_PaymentCard | |
| FK_DATA_PaymentCard_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentCard(Last_WorkstationId_Log) | |
| FK_DATA_MediaIdentifierNotRecognized_WksId | WorkstationId ↙ ❏ DATA_MediaIdentifierNotRecognized | |
| FK_CNF_MultiLanguage_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MultiLanguage(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_Warehouse_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_Warehouse(Last_WorkstationId_Log) | |
| FK_CNF_DmgCategory_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DmgCategory(Last_WorkstationId_Log) | |
| FK_INV_UnitOfMeasure_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_UnitOfMeasure(Last_WorkstationId_Log) | |
| FK_DATA_PaymentCredit_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentCredit(Last_WorkstationId_Log) | |
| FK_CNF_Survey_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Survey(Last_WorkstationId_Log) | |
| FK_CNF_OperatingArea_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_OperatingArea(Last_WorkstationId_Log) | |
| FK_STOCK_CNF_WarehouseAssign_Last_WorkstationId_Log | WorkstationId ↙ ❏ STOCK_CNF_WarehouseAssign(Last_WorkstationId_Log) | |
| Relationship1230 | WorkstationId ↙ ❏ STOCK_CNF_WarehouseAssign | |
| FK_DATA_PaymentFlex_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentFlex(Last_WorkstationId_Log) | |
| FK__CNF_DmgCa__Works__2ED0D4B0 | WorkstationId ↙ ❏ CNF_DmgCategory_Permission | |
| FK_CNF_DmgCategory_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DmgCategory_Permission(Last_WorkstationId_Log) | |
| FK_CNF_UpSellCategory_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_UpSellCategory(Last_WorkstationId_Log) | |
| FK_INV_WareHouse_Last_WorkstationId_Log | WorkstationId ↙ ❏ INV_WareHouse(Last_WorkstationId_Log) | |
| FK_CNF_System_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_System(Last_WorkstationId_Log) | |
| fkCNF_System_Workstation | WorkstationId ↙ ❏ CNF_System | |
| FK_CNF_PAY_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PAY(Last_WorkstationId_Log) | |
| FK_CNF_PaymentCardCode_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PaymentCardCode(Last_WorkstationId_Log) | |
| FK_CNF_DmgCategory2Mask_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DmgCategory2Mask(Last_WorkstationId_Log) | |
| FK_DATA_PaymentPlan_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentPlan(Last_WorkstationId_Log) | |
| FK_DATA_Ticket2Phone_WorkstationId | WorkstationId ↙ ❏ DATA_Ticket2Phone(Last_WorkstationId_Log) | |
| FK_CNF_MembershipCard_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MembershipCard(Last_WorkstationId_Log) | |
| FK_CNF_Pay_MatrixCell_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Pay_MatrixCell(Last_WorkstationId_Log) | |
| FK_CNF_DocRepository_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DocRepository(Last_WorkstationId_Log) | |
| FK_DATA_PaymentPlan2Transaction_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentPlan2Transaction(Last_WorkstationId_Log) | |
| FK__CNF_Tag__Worksta__25D17A5B | WorkstationId ↙ ❏ CNF_Tag | |
| FK_CNF_ShopCartValidationItem2Event_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ShopCartValidationItem2Event(Last_WorkstationId_Log) | |
| FK_CNF_PaymentCard_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PaymentCard(Last_WorkstationId_Log) | |
| FK_CNF_DocTemplate_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DocTemplate(Last_WorkstationId_Log) | |
| FK__CNF_Tag2E__Works__28ADE706 | WorkstationId ↙ ❏ CNF_Tag2Entity | |
| FK_CNF_PromotionProductCategory_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionProductCategory(Last_WorkstationId_Log) | |
| FK_DATA_History_Override_WorkstationId | WorkstationId ↙ ❏ DATA_History_Override | |
| FK_CNF_PaymentCardRange_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PaymentCardRange(Last_WorkstationId_Log) | |
| FK_CNF_SeatObject_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeatObject(Last_WorkstationId_Log) | |
| FK_DATA_Reservation_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Reservation(Last_WorkstationId_Log) | |
| FK_CNF_Tax_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Tax(Last_WorkstationId_Log) | |
| FK_CNF_ShopCartValidationItem2MatrixCell_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ShopCartValidationItem2MatrixCell(Last_WorkstationId_Log) | |
| FK__CNF_DocTe__Works__3E131840 | WorkstationId ↙ ❏ CNF_DocTemplate_Permission | |
| FK_CNF_DocTemplate_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DocTemplate_Permission(Last_WorkstationId_Log) | |
| FK_CNF_Tax2Location_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Tax2Location(Last_WorkstationId_Log) | |
| FK_CNF_PaymentMethod_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PaymentMethod(Last_WorkstationId_Log) | |
| FK_CNF_DocTemplate2Device_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DocTemplate2Device(Last_WorkstationId_Log) | |
| FK_CNF_ShopCartValidationItem2StatisticalGroup_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ShopCartValidationItem2StatisticalGroup(Last_WorkstationId_Log) | |
| FK_DATA_Right_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Right(Last_WorkstationId_Log) | |
| FK_CNF_Tax2Package_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Tax2Package(Last_WorkstationId_Log) | |
| FK_CNF_DocTemplateParam_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DocTemplateParam(Last_WorkstationId_Log) | |
| FK_CNF_UpSellCategoryVal_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_UpSellCategoryValidity(Last_WorkstationId_Log) | |
| FK_CNF_Performance_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Performance(Last_WorkstationId_Log) | |
| FK_CNF_DocTemplateParamValue_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DocTemplateParamValue(Last_WorkstationId_Log) | |
| FK__DATA_Sale__Works__1A2ABD85 | WorkstationId ↙ ❏ DATA_Sale | |
| FK_DATA_Sale_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Sale(Last_WorkstationId_Log) | |
| FK_CNF_PerformanceCategory_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PerformanceCategory(Last_WorkstationId_Log) | |
| FK_CNF_Driver_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Driver(Last_WorkstationId_Log) | |
| FK__OFF_Updat__Works__228AF95C | WorkstationId ↙ ❏ OFF_Update | |
| FK_CNF_TaxPackage_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_TaxPackage(Last_WorkstationId_Log) | |
| FK_DATA_SaleCoupon_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleCoupon(Last_WorkstationId_Log) | |
| FK_DATA_Notification2Entity_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Notification2Entity(Last_WorkstationId_Log) | |
| FK_DATA_SaleItem2CostCenter_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItem2CostCenter(Last_WorkstationId_Log) | |
| FK_CNF_PerformanceCategoryValidity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PerformanceCategoryValidity(Last_WorkstationId_Log) | |
| FK_DATA_SaleItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItem(Last_WorkstationId_Log) | |
| FK_CNF_TimeSlot_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_TimeSlot(Last_WorkstationId_Log) | |
| FK_RES_CNF_Event_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_Event(Last_WorkstationId_Log) | |
| FK_CNF_UpSell_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_UpSell(Last_WorkstationId_Log) | |
| FK_DATA_SaleItem_Combo_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItem_Combo(Last_WorkstationId_Log) | |
| FK_CNF_Trigger_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Trigger(Last_WorkstationId_Log) | |
| FK_CNF_PerformanceFilter_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PerformanceFilter(Last_WorkstationId_Log) | |
| FK_DATA_PaymentFlexInfo_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentFlexInfo(Last_WorkstationId_Log) | |
| FK_DATA_PaymentFlexInfo_WorkstationId | WorkstationId ↙ ❏ DATA_PaymentFlexInfo | |
| FK_RES_CNF_MatrixCell_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_MatrixCell(Last_WorkstationId_Log) | |
| FK_DATA_SaleItem2Account_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItem2Account(Last_WorkstationId_Log) | |
| FK_CNF_Upgrade_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Upgrade(Last_WorkstationId_Log) | |
| FK_CNF_Envelope_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Envelope(Last_WorkstationId_Log) | |
| FK_RES_CNF_Performance_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_Performance(Last_WorkstationId_Log) | |
| FK_CNF_MatrixCell2Delivery_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_MatrixCell2Delivery(Last_WorkstationId_Log) | |
| FK_CNF_PerformanceSeat_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PerformanceSeat(Last_WorkstationId_Log) | |
| FK_ADM_AccessConfiguration_Last_WorkstationId_Log | WorkstationId ↙ ❏ ADM_AccessConfiguration(Last_WorkstationId_Log) | |
| FK_DATA_SaleItem2Dmg_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItem2Dmg(Last_WorkstationId_Log) | |
| FK_CNF_DataMaskMultiUnique_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DataMaskMultiUnique(Last_WorkstationId_Log) | |
| FK_RES_CNF_Requirement_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_Requirement(Last_WorkstationId_Log) | |
| FK_CNF_DonationForm_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_DonationForm(Last_WorkstationId_Log) | |
| FK__CNF_Envel__Works__4E498009 | WorkstationId ↙ ❏ CNF_Envelope_Permission | |
| FK_CNF_Envelope_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Envelope_Permission(Last_WorkstationId_Log) | |
| FK_CNF_StatisticalGroup2Promotion_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_StatisticalGroup2Promotion(Last_WorkstationId_Log) | |
| FK_DATA_SaleItem2Performance_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItem2Performance(Last_WorkstationId_Log) | |
| FK_CNF_PriceList_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PriceList(Last_WorkstationId_Log) | |
| FK_RES_CNF_RequirementGroup_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_RequirementGroup(Last_WorkstationId_Log) | |
| FK__ADM_Acces__Paren__646DCB52 | WorkstationId ↙ ❏ ADM_AccessPoint(ParentWorkStationId) | |
| FK__ADM_Acces__Works__6561EF8B | WorkstationId ↙ ❏ ADM_AccessPoint | |
| FK_ADM_AccessPoint_WorkstationId | WorkstationId ↙ ❏ ADM_AccessPoint(Last_WorkstationId_Log) | |
| FK_CNF_UpSell_Validity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_UpSell_Validity(Last_WorkstationId_Log) | |
| FK_DATA_SaleItem2Ticket_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItem2Ticket(Last_WorkstationId_Log) | |
| FK_CNF_User_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_User(Last_WorkstationId_Log) | |
| FK_CNF_PriceTable_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PriceTable(Last_WorkstationId_Log) | |
| FK_CNF_EnvelopeCapacity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_EnvelopeCapacity(Last_WorkstationId_Log) | |
| FK_RES_CNF_RequirementTemplate_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_RequirementTemplate(Last_WorkstationId_Log) | |
| FK_ADM_Gate_Last_WorkstationId_Log | WorkstationId ↙ ❏ ADM_Gate(Last_WorkstationId_Log) | |
| FK_DATA_SaleItemRule_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItemRule(Last_WorkstationId_Log) | |
| FK_CNF_User2Group_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_User2Group(Last_WorkstationId_Log) | |
| FK_CNF_EnvelopeRight_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_EnvelopeRight(Last_WorkstationId_Log) | |
| FK_RES_CNF_RequirementTemplateItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_RequirementTemplateItem(Last_WorkstationId_Log) | |
| FK__CNF_UpSel__Works__619C4B9F | WorkstationId ↙ ❏ CNF_UpSell_Permission | |
| FK_CNF_UpSell_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_UpSell_Permission(Last_WorkstationId_Log) | |
| FK_CNF_Producer_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Producer(Last_WorkstationId_Log) | |
| FK_CNF_SeasonalRule_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SeasonalRule(Last_WorkstationId_Log) | |
| FK_DATA_SalePromotionRule_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SalePromotionRule(Last_WorkstationId_Log) | |
| FK_CNF_UserGroup_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_UserGroup(Last_WorkstationId_Log) | |
| FK_RES_CNF_RequirementTemplateSet_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_RequirementTemplateSet(Last_WorkstationId_Log) | |
| FK_ADM_Gate2AccessConfiguration_Last_WorkstationId_Log | WorkstationId ↙ ❏ ADM_Gate2AccessConfiguration(Last_WorkstationId_Log) | |
| FK_DATA_TicketExport_WorkstationId | WorkstationId ↙ ❏ DATA_TicketExport | |
| FK_CNF_Product_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Product(Last_WorkstationId_Log) | |
| FK_CNF_Event_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Event(Last_WorkstationId_Log) | |
| FK_DATA_SaleTax_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleTax(Last_WorkstationId_Log) | |
| FK_CNF_VenueMap_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_VenueMap(Last_WorkstationId_Log) | |
| FK_RES_CNF_RequirementType_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_RequirementType(Last_WorkstationId_Log) | |
| FK__DATA_Sche__Works__3C7FD589 | WorkstationId ↙ ❏ DATA_SchedulerLog | |
| FK_CNF_VenueMapItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_VenueMapItem(Last_WorkstationId_Log) | |
| FK__CNF_Event__Works__6809520C | WorkstationId ↙ ❏ CNF_Event_Permission | |
| FK_CNF_Event_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Event_Permission(Last_WorkstationId_Log) | |
| FK_RES_CNF_Resource_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_Resource(Last_WorkstationId_Log) | |
| FK_CNF_ProductValidity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ProductValidity(Last_WorkstationId_Log) | |
| FK_CNF_Delivery_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Delivery(Last_WorkstationId_Log) | |
| FK_DATA_BOS2CRMEntity_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_BOS2CRMEntity(Last_WorkstationId_Log) | |
| FK_CNF_Workstation_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Workstation(Last_WorkstationId_Log) | |
| FK_CNF_EventFilter_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_EventFilter(Last_WorkstationId_Log) | |
| FK_CNF_ProductValidity2Event_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ProductValidity2Event(Last_WorkstationId_Log) | |
| FK_RES_CNF_ResourceContract_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_ResourceContract(Last_WorkstationId_Log) | |
| FK__DATA_Sess__Works__4420F751 | WorkstationId ↙ ❏ DATA_Session | |
| FK_DATA_CashDrawerSession_WorkstationId | WorkstationId ↙ ❏ DATA_CashDrawerSession | |
| FK__CNF_Works__Works__3CB4DFB3 | WorkstationId ↙ ❏ CNF_WorkstationDevice | |
| FK_CNF_WorkstationDevice_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_WorkstationDevice(Last_WorkstationId_Log) | |
| FK_CNF_Projection_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Projection(Last_WorkstationId_Log) | |
| FK_CNF_ExchangeRate_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ExchangeRate(Last_WorkstationId_Log) | |
| FK_CNF_AccessFilter_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_AccessFilter(Last_WorkstationId_Log) | |
| FK_RES_CNF_ResourcePriority_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_ResourcePriority(Last_WorkstationId_Log) | |
| FK__DATA_Shop__Works__46FD63FC | WorkstationId ↙ ❏ DATA_ShopCartItem | |
| FK_CNF_FlexPlanTemplate_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_FlexPlanTemplate(Last_WorkstationId_Log) | |
| FK__CNF_ExtCa__Works__746F28F1 | WorkstationId ↙ ❏ CNF_ExtCardTypePermission | |
| FK_CNF_ExtCardTypePermission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ExtCardTypePermission(Last_WorkstationId_Log) | |
| FK_CNF_CustomColor_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CustomColor(Last_WorkstationId_Log) | |
| FK_CNF_AlternativeCodes_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_AlternativeCodes(Last_WorkstationId_Log) | |
| FK_DATA_Account_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Account(Last_WorkstationId_Log) | |
| FK_CNF_Promotion_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Promotion(Last_WorkstationId_Log) | |
| FK_RES_CNF_ResourceRequirement_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_ResourceRequirement(Last_WorkstationId_Log) | |
| FK_CNF_SuggestiveSell_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SuggestiveSell(Last_WorkstationId_Log) | |
| FK_CNF_ExternalCardType_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ExternalCardType(Last_WorkstationId_Log) | |
| FK_DATA_AccountFinancial_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_AccountFinancial(Last_WorkstationId_Log) | |
| FK_CNF_Promotion_Quota_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Promotion_Quota(Last_WorkstationId_Log) | |
| FK_DATA_TicketOptions_WorkstationId | WorkstationId ↙ ❏ DATA_TicketOptions(Last_WorkstationId_Log) | |
| FK_RES_CNF_ResourceRequirementAllowed_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_ResourceRequirementAllowed(Last_WorkstationId_Log) | |
| FK__DATA_Surv__InsWo__4ACDF4E0 | WorkstationId ↙ ❏ DATA_SurveyItem(InsWorkstationId) | |
| FK_CNF_SuggestiveSell_Permission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SuggestiveSell_Permission(Last_WorkstationId_Log) | |
| fk_CNF_SuggestiveSell_Permission_WorkstationId | WorkstationId ↙ ❏ CNF_SuggestiveSell_Permission | |
| FK__DATA_Tick__Works__27C4AFC5 | WorkstationId ↙ ❏ DATA_TicketStatus | |
| FK_CNF_ExternalMediaType_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ExternalMediaType(Last_WorkstationId_Log) | |
| FK_DATA_AccountRelationship_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_AccountRelationship(Last_WorkstationId_Log) | |
| FK_RES_CNF_ResourceType_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_ResourceType(Last_WorkstationId_Log) | |
| FK_CNF_PromotionAssociation_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionAssociation(Last_WorkstationId_Log) | |
| fkPromotionAssociation_WorkStation | WorkstationId ↙ ❏ CNF_PromotionAssociation | |
| FK_CNF_ExternalStoredInfo_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ExternalStoredInfo(Last_WorkstationId_Log) | |
| FK__DATA_Tick__Works__526F16A8 | WorkstationId ↙ ❏ DATA_Ticket | |
| FK_DATA_Ticket_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Ticket(Last_WorkstationId_Log) | |
| FK_DATA_Media2Performances_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Media2Performances(Last_WorkstationId_Log) | |
| FK_DATA_AddressVerification_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_AddressVerification(Last_WorkstationId_Log) | |
| FK_RES_CNF_ResourceType_Requirement_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_ResourceType_Requirement(Last_WorkstationId_Log) | |
| FK_CNF_PromotionEvent_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionEvent(Last_WorkstationId_Log) | |
| FK_CNF_ExternalTicketRange_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_ExternalTicketRange(Last_WorkstationId_Log) | |
| FK_DATA_Ticket2Media_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Ticket2Media(Last_WorkstationId_Log) | |
| FK__DATA_AptR__Works__4BF72343 | WorkstationId ↙ ❏ DATA_AptRotationCount | |
| FK_RES_CNF_ScheduleTypeAllowed_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_CNF_ScheduleTypeAllowed(Last_WorkstationId_Log) | |
| FK_CNF_CRMTemplate_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CRMTemplate(Last_WorkstationId_Log) | |
| FK_CNF_PromotionItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionItem(Last_WorkstationId_Log) | |
| FK_CNF_Attribute_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Attribute(Last_WorkstationId_Log) | |
| FK_DATA_Ticket2Performance_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Ticket2Performance(Last_WorkstationId_Log) | |
| FK_CNF_SuggestiveSell2Event_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SuggestiveSell2Event(Last_WorkstationId_Log) | |
| FK_DATA_BankAccount_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_BankAccount(Last_WorkstationId_Log) | |
| FK_DATA_AccountCardOnFile_WorkstationId | WorkstationId ↙ ❏ DATA_AccountCardOnFile(Last_WorkstationId_Log) | |
| FK_RES_Data_Transaction_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_Data_Transaction(Last_WorkstationId_Log) | |
| RES_Data_Transaction_WorkStation | WorkstationId ↙ ❏ RES_Data_Transaction | |
| FK_CNF_PromotionItem_Quota_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionItem_Quota(Last_WorkstationId_Log) | |
| FK__DATA_Tick__Works__5A103870 | WorkstationId ↙ ❏ DATA_TicketStatusLog | |
| FK_DATA_Batch_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Batch(Last_WorkstationId_Log) | |
| FK_CNF_CRMTemplateDetail_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_CRMTemplateDetail(Last_WorkstationId_Log) | |
| FK_RES_ResourceCalendar_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_ResourceCalendar(Last_WorkstationId_Log) | |
| FK__CNF_Attri__Works__7E2D9D55 | WorkstationId ↙ ❏ CNF_Attribute_SaleValidity | |
| FK_CNF_Attribute_SaleValidity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Attribute_SaleValidity(Last_WorkstationId_Log) | |
| FK_CNF_FiscalYear_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_FiscalYear(Last_WorkstationId_Log) | |
| FK_DATA_TicketUpgrade_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_TicketUpgrade(Last_WorkstationId_Log) | |
| FK_CNF_SuggestiveSell2MatrixCell_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SuggestiveSell2MatrixCell(Last_WorkstationId_Log) | |
| FK_CNF_PromotionItemRule_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionItemRule(Last_WorkstationId_Log) | |
| FK_DATA_PaymentHotel_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_PaymentHotel(Last_WorkstationId_Log) | |
| FK_RES_ResourceCalendar_TimeFrame_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_ResourceCalendar_TimeFrame(Last_WorkstationId_Log) | |
| FK_CNF_AttributeSet_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_AttributeSet(Last_WorkstationId_Log) | |
| FK_DATA_Biometric_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Biometric(Last_WorkstationId_Log) | |
| FK__DATA_Tick__Works__60BD35FF | WorkstationId ↙ ❏ DATA_TicketUsage | |
| FK__CNF_Promo__Works__67D447E2 | WorkstationId ↙ ❏ CNF_PromotionPermission | |
| FK_CNF_PromotionPermission_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionPermission(Last_WorkstationId_Log) | |
| FK_CNF_FlexContract_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_FlexContract(Last_WorkstationId_Log) | |
| FK_RES_Schedule_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_Schedule(Last_WorkstationId_Log) | |
| FK_CNF_AttributeSetDetail_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_AttributeSetDetail(Last_WorkstationId_Log) | |
| FK__DATA_Box__Workst__50BBD860 | WorkstationId ↙ ❏ DATA_Box | |
| FK_CNF_SuggestiveSell2StatisticalGroup_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SuggestiveSell2StatisticalGroup(Last_WorkstationId_Log) | |
| FK_CNF_RenewalContract_WorkstationId | WorkstationId ↙ ❏ CNF_RenewalContract(Last_WorkstationId_Log) | |
| FK_CNF_PromotionProduct_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionProduct(Last_WorkstationId_Log) | |
| FK_RES_ScheduleDetail_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_ScheduleDetail(Last_WorkstationId_Log) | |
| FK_CNF_AttributeTemplate_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_AttributeTemplate(Last_WorkstationId_Log) | |
| FK_DATA_SaleItemTax_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_SaleItemTax(Last_WorkstationId_Log) | |
| FK_CNF_FundCash_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_FundCash(Last_WorkstationId_Log) | |
| FK__DATA_Tran__Works__69527C00 | WorkstationId ↙ ❏ DATA_Transaction | |
| FK_DATA_Transaction_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Transaction(Last_WorkstationId_Log) | |
| FK_CNF_PromotionValidity_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_PromotionValidity(Last_WorkstationId_Log) | |
| FK_CNF_TravelMatrix_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_TravelMatrix(Last_WorkstationId_Log) | |
| FK_RES_ScheduleType_Last_WorkstationId_Log | WorkstationId ↙ ❏ RES_ScheduleType(Last_WorkstationId_Log) | |
| FK_DATA_CapacityCounter_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_CapacityCounter(Last_WorkstationId_Log) | |
| FK_CNF_FundItem_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_FundItem(Last_WorkstationId_Log) | |
| FK_CNF_Donation_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_Donation(Last_WorkstationId_Log) | |
| FK_CNF_SuggestiveSell2EventCategory_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_SuggestiveSell2EventCategory(Last_WorkstationId_Log) | |
| FK_DATA_DeviceOperations_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_DeviceOperations(Last_WorkstationId_Log) | |
| FK_SEAT_CNF_SpaceStructureSeat_Last_WorkstationId_Log | WorkstationId ↙ ❏ SEAT_CNF_SpaceStructureSeat(Last_WorkstationId_Log) | |
| FK_CNF_BoardFav_Last_WorkstationId_Log | WorkstationId ↙ ❏ CNF_BoardFav(Last_WorkstationId_Log) | |
| FK_DATA_Transaction2Media_Last_WorkstationId_Log | WorkstationId ↙ ❏ DATA_Transaction2Media(Last_WorkstationId_Log) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | WorkstationDeviceId | int IDENTITY |
| * | WorkstationId | int |
| * | DeviceId | int |
| * | Enabled | smallint |
| DebugMode | smallint | |
| Version | varchar(32) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Work__274F8E2E2BDCAB03 | Primary Key ON WorkstationDeviceId | |
| Foreign Key | ||
| FK__CNF_Works__Devic__3BC0BB7A | DeviceId ↗ ❏ CNF_Device | |
| FK__CNF_Works__Works__3CB4DFB3 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_CNF_WorkstationDevice_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_WorkstationDevice_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | COAAccountId | int IDENTITY |
| * | COAAccountTypeId | int |
| ParentAccountId | int | |
| * | COAAccountAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | Code | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | SystemAccount | smallint |
| * | Enabled | smallint |
| ExternalCode | nvarchar(25) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| SiteID | int | |
| Indexes | ||
| PK__COA_CNF___E7A0BB6D2A11EFD0 | Primary Key ON COAAccountId | |
| UQ__COA_CNF___E7A004491DA0CE93 | Unique Key ON COAAccountAK | |
| Foreign Key | ||
| fk_COA_CNF_Account_COAAccountTypeId | COAAccountTypeId ↗ ❏ COA_CNF_AccountType | |
| FK_COA_CNF_Account_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_COA_CNF_Account_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_COA_CNF_AccountConfig_COA_CNF_Account_COAAccountId | COAAccountId ↙ ❏ COA_CNF_AccountConfig | |
| FK_RR_DATA_Revenue_COA_CNF_Account_COAAccountId | COAAccountId ↙ ❏ RR_DATA_Revenue | |
| FK_CNF_DonationForm_COAAccountId | COAAccountId ↙ ❏ CNF_DonationForm | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | COAAccountConfigId | int IDENTITY |
| * | COAAccountId | int |
| * | RevenueRecognitionRuleId | int |
| * | AccountingType | smallint |
| Price | float | |
| Percentage | float | |
| RemainingValues | bit | |
| * | Enabled | smallint |
| SiteId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__COA_CNF___433E4AD4890902AA | Primary Key ON COAAccountConfigId | |
| Foreign Key | ||
| FK_COA_CNF_AccountConfig_COA_CNF_Account_COAAccountId | COAAccountId ↗ ❏ COA_CNF_Account | |
| FK_COA_CNF_AccountConfig_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_COA_CNF_AccountConfig_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_COA_CNF_AccountConfig_RR_CNF_RevenueRecognitionRule_RevenueRecognitionRuleId | RevenueRecognitionRuleId ↗ ❏ RR_CNF_RevenueRecognitionRule | |
| Referring Foreign Key | ||
| FK_RR_DATA_Revenue_COA_CNF_AccountConfig_COAAccountConfigId | COAAccountConfigId ↙ ❏ RR_DATA_Revenue | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | COAAccountTypeId | int IDENTITY |
| * | COAAccountTypeAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | Code | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| SystemAccount | smallint | |
| * | Enabled | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__COA_CNF___2AB4C13053954252 | Primary Key ON COAAccountTypeId | |
| UQ__COA_CNF___2AB5004C2E2FAEC3 | Unique Key ON COAAccountTypeAK | |
| Foreign Key | ||
| FK_COA_CNF_AccountType_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_COA_CNF_AccountType_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fk_COA_CNF_Account_COAAccountTypeId | COAAccountTypeId ↙ ❏ COA_CNF_Account | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountId | int IDENTITY |
| * | AccountAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | AccountType | smallint |
| * | Enabled | smallint |
| ParentAccountId | int | |
| * | DmgCategoryId | int |
| DisplayName | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| FirstName | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| SurName | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| CompanyName | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Address1 | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| ZipCode | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| City | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| State | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Country | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| HomePhone | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| BusinessPhone | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Fax | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| MobilePhone | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| EmailAddress1 | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| * | InsDateTime | datetime |
| * | UpdDateTime | datetime |
| ExternalCode1 | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| * | UpdUserId | int |
| * | InsUserId | int |
| OfflineAccountAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| UserId | int | |
| BillingAccountId | int | |
| DisplayField2 | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| DisplayField1 | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Password | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| AccountGUID | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| * | Membership | smallint DEFAULT 0 |
| * | LoginAttempts | smallint DEFAULT 0 |
| LanguageId | int | |
| ExpirationDate | datetime DEFAULT '01/01/1900' | |
| FinancialBlacklistOption | smallint DEFAULT 0 | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | PointsEmailSent | int DEFAULT 0 |
| CardNames | nvarchar(400) COLLATE Latin1_General_CI_AS | |
| ExternalCode2 | varchar(200) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Acc__349DA5A6E81DEC10 | Primary Key ON AccountId | |
| IDX_Account_AccountAK | Unique Index ON AccountAK | |
| IDX_Account_DisplayName | Index ON DisplayName | |
| IDX_Account_ExternalCode1 | Index ON ExternalCode1 | |
| IDX_DATA_Account_AccountType | Index ON AccountType | |
| IDX_DATA_Account_DmgCategoryId | Index ON DmgCategoryId | |
| IDX_DATA_Account_Enabled | Index ON Enabled | |
| IDX_DATA_Account_ParentAccountId | Index ON ParentAccountId | |
| IDX_DATA_Account_AccountType_Enabled | Index ON AccountType, Enabled | |
| IDX_DATA_Account_AccountID_Display_Name | Index ON AccountId | |
| IDX_Data_Account_AccountDetails | Index ON DmgCategoryId, AccountType, InsDateTime | |
| Idx_Account_Id_BillingId | Index ON AccountId, BillingAccountId | |
| Idx_Account_Login | Index ON EmailAddress1 | |
| Foreign Key | ||
| FK__DATA_Acco__Billi__3DA903EC | BillingAccountId ↗ ❏ DATA_Account(AccountId) | |
| FK__DATA_Acco__DmgCa__3E9D2825 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__DATA_Acco__InsUs__3F914C5E | InsUserId ↗ ❏ CNF_User(UserId) | |
| FK__DATA_Acco__Paren__40857097 | ParentAccountId ↗ ❏ DATA_Account(AccountId) | |
| FK__DATA_Acco__UpdUs__417994D0 | UpdUserId ↗ ❏ CNF_User(UserId) | |
| FK__DATA_Acco__UserI__426DB909 | UserId ↗ ❏ CNF_User | |
| FK_Data_Account_LanguageID | LanguageId ↗ ❏ CNF_Language | |
| FK_DATA_Account_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Account_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__CNF_Matri__Accou__090B1E7B | AccountId ↙ ❏ CNF_MatrixCellPermission | |
| FK_CNF_Trigger_Permission_AccountId | AccountId ↙ ❏ CNF_Trigger_Permission | |
| FK_IncetiveTicket_Account | AccountId ↙ ❏ CNF_IncentiveTicket | |
| FK_DATA_RenewalPlan_AccountId | AccountId ↙ ❏ DATA_RenewalPlan | |
| FK_DATA_Product_AccountId | AccountId ↙ ❏ DATA_Product | |
| FK__DATA_Vouc__Accou__05EEBAAE | AccountId ↙ ❏ DATA_Voucher | |
| FK__CNF_SeatC__Accou__78FED3E4 | AccountId ↙ ❏ CNF_SeatCategory_Permission | |
| FK_CNF_Promotion2Account_AccountId | AccountId ↙ ❏ CNF_Promotion2Account | |
| FK_DATA_AccountGiftAid_DATA_Account | AccountId ↙ ❏ DATA_AccountGiftAid | |
| FK_DATA_Promotion2Account_AccountId | AccountId ↙ ❏ DATA_Promotion2Account | |
| FK__CNF_Commi__Accou__16F94B1F | AccountId ↙ ❏ CNF_Commission2Account | |
| FK__DATA_Ledg__Accou__679F3DB8 | AccountId ↙ ❏ DATA_Ledger | |
| fk_DATA_Account_AccountId | AccountId ↙ ❏ DATA_Account2CRM | |
| FK__CNF_Perfo__Accou__31190FD5 | AccountId ↙ ❏ CNF_Performance_Permission | |
| fkDATA_MediaIdentifier_DATA_Account | AccountId ↙ ❏ DATA_MediaIdentifier | |
| FK__CNF_Site___Accou__0A295FE6 | AccountId ↙ ❏ CNF_Site_LoginPermission | |
| FK_CNF_TicketPackageGroupPermission_AccountId | AccountId ↙ ❏ CNF_TicketPackageGroupPermission | |
| Relationship1240 | AccountId ↙ ❏ STOCK_CNF_Product(DefaultSupplier) | |
| FK_DATA_TicketHistory_AccountId | AccountId ↙ ❏ DATA_TicketHistory | |
| FK__CNF_Matri__Accou__26068485 | AccountId ↙ ❏ CNF_MatrixSheet_SaleValidity | |
| FK__CNF_Subsc__Accou__1B53EBE8 | AccountId ↙ ❏ CNF_Subscription | |
| FK__DATA_Paym__Accou__015F0FBB | AccountId ↙ ❏ DATA_PaymentCredit | |
| FK__DATA_Paym__Accou__043B7C66 | AccountId ↙ ❏ DATA_PaymentFlex | |
| FK__CNF_DmgCa__Accou__2823D721 | AccountId ↙ ❏ CNF_DmgCategory_Permission | |
| FK_DATA_Ticket2Phone_AccountId | AccountId ↙ ❏ DATA_Ticket2Phone | |
| FK__DATA_Rese__Accou__0DC4E6A0 | AccountId ↙ ❏ DATA_Reservation | |
| FK__DATA_Rese__B2BAc__0EB90AD9 | AccountId ↙ ❏ DATA_Reservation(B2BAccountId) | |
| FK__DATA_Rese__Billi__10A1534B | AccountId ↙ ❏ DATA_Reservation(BillingAccountId) | |
| FK__CNF_DocTe__Accou__37661AB1 | AccountId ↙ ❏ CNF_DocTemplate_Permission | |
| FK__DATA_Sale__Owner__15660868 | AccountId ↙ ❏ DATA_Sale(OwnerAccountId) | |
| FK_DATA_AccountTemporaryPasswords_AccountId | AccountId ↙ ❏ DATA_AccountTemporaryPasswords | |
| FK__DATA_Sale__Accou__2C496DC0 | AccountId ↙ ❏ DATA_SaleItem2Account | |
| FK__CNF_Envel__Accou__479C827A | AccountId ↙ ❏ CNF_Envelope_Permission | |
| fk_DATA_MergeAccountLog_NewAccountId | AccountId ↙ ❏ DATA_MergeAccountLog(NewAccountId) | |
| fk_DATA_MergeAccountLog_OldAccountId | AccountId ↙ ❏ DATA_MergeAccountLog(OldAccountId) | |
| FK__CNF_Event__Accou__5AAF56EE | AccountId ↙ ❏ CNF_Event | |
| FK__CNF_Event__Accou__615C547D | AccountId ↙ ❏ CNF_Event_Permission | |
| FK__CNF_ExtCa__Accou__6DC22B62 | AccountId ↙ ❏ CNF_ExtCardTypePermission | |
| CNF_AlternativeCodes_fkDATA_Account | AccountId ↙ ❏ CNF_AlternativeCodes | |
| FK__DATA_Acco__Billi__3DA903EC | AccountId ↙ ❏ DATA_Account(BillingAccountId) | |
| FK__DATA_Acco__Paren__40857097 | AccountId ↙ ❏ DATA_Account(ParentAccountId) | |
| FK__DATA_Acco__Accou__4456017B | AccountId ↙ ❏ DATA_AccountFinancial | |
| FK__DATA_Tick__Accou__70A98505 | AccountId ↙ ❏ DATA_TicketStatus | |
| FK__DATA_Sale__Accou__71800FB2 | AccountId ↙ ❏ DATA_SaleItem2Gift | |
| FK__DATA_Acco__Child__4826925F | AccountId ↙ ❏ DATA_AccountRelationship(ChildAccountId) | |
| FK__DATA_Acco__Fathe__491AB698 | AccountId ↙ ❏ DATA_AccountRelationship(FatherAccountId) | |
| FK__DATA_Tick__Accou__4CB63D52 | AccountId ↙ ❏ DATA_Ticket | |
| FK_DATA_Media2Performances_DATA_Account_AccountId | AccountId ↙ ❏ DATA_Media2Performances | |
| FK__DATA_Bank__Accou__4CEB477C | AccountId ↙ ❏ DATA_BankAccount | |
| FK_DATA_AccountCardOnFile_AccountId | AccountId ↙ ❏ DATA_AccountCardOnFile | |
| FK__CNF_Attri__Accou__77809FC6 | AccountId ↙ ❏ CNF_Attribute_SaleValidity | |
| FK__CNF_Promo__Accou__6033261A | AccountId ↙ ❏ CNF_PromotionPermission | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | Account2CRMId | int IDENTITY |
| * | AccountId | int |
| CRMGuid | varchar(38) COLLATE Latin1_General_CI_AS | |
| * | CRMType | smallint |
| Changed | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Acc__763B110C89511B33 | Primary Key ON Account2CRMId | |
| Foreign Key | ||
| fk_DATA_Account_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_Account2CRM_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Account2CRM_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountCardOnFileId | int IDENTITY |
| * | AccountId | int |
| * | CardOnFileType | smallint |
| * | OrderOfPriority | smallint |
| StoredPaymentMethodId | varchar(100) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| CardName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| CardNumber | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| Expiration | nvarchar(7) COLLATE Latin1_General_CI_AS | |
| HolderName | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Acc__6984A0DE6F9262C7 | Primary Key ON AccountCardOnFileId | |
| Foreign Key | ||
| FK_DATA_AccountCardOnFile_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_AccountCardOnFile_UserId | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_AccountCardOnFile_WorkstationId | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountId | int |
| PriceListId | int | |
| TotalCreditAmount | float | |
| CreditDays | smallint | |
| CreditAmountPerTransaction | float | |
| CreditItemsPerTransaction | smallint | |
| * | AutoPayCredits | smallint |
| AgreedLimitDeposit | float DEFAULT 0 | |
| B2BPriceListId | int | |
| * | SkipAccountPickup | smallint DEFAULT 0 |
| UserId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| TaxExemptable | smallint | |
| TaxExemptFrom | datetime | |
| TaxExemptTo | datetime | |
| TaxFileName | nvarchar(255) COLLATE Latin1_General_CI_AS | |
| SendEmailOnThresholdLimit | smallint | |
| ThresholdLimitAmount | float | |
| MaxDailyResDelete | int | |
| MaxDailyTicketsDelete | int | |
| NumDaysAfterOrderCreation | int | |
| NumDaysBeforeEvent | int | |
| ResDelApprovalUserId | int | |
| Indexes | ||
| PK__DATA_Acc__349DA5A6C150671D | Primary Key ON AccountId | |
| Foreign Key | ||
| FK__DATA_Acco__Accou__4456017B | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Acco__B2BPr__454A25B4 | B2BPriceListId ↗ ❏ CNF_PriceList(PriceListId) | |
| FK__DATA_Acco__Price__463E49ED | PriceListId ↗ ❏ CNF_PriceList | |
| FK__DATA_Acco__UserI__47326E26 | UserId ↗ ❏ CNF_User | |
| FK_DATA_AccountFinancial_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_AccountFinancial_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountGiftAidId | int IDENTITY |
| * | AccountId | int |
| * | InsertDateTime | datetime |
| * | UpdateDateTime | datetime |
| * | DeclarationStartDate | datetime |
| * | DeclarationEndDate | datetime |
| * | Active | int |
| * | SingleUse | int |
| Indexes | ||
| PK__DATA_Acc__5BEE8B03B0067E37 | Primary Key ON AccountGiftAidId | |
| Foreign Key | ||
| FK_DATA_AccountGiftAid_DATA_Account | AccountId ↗ ❏ DATA_Account | |
| Referring Foreign Key | ||
| FK_DATA_SaleItem2Gift_DATA_AccountGiftAid | AccountGiftAidId ↙ ❏ DATA_SaleItem2Gift | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountLimitDataId | int IDENTITY |
| * | AccountRestrictionId | int |
| * | AccountId | int |
| SaleId | int | |
| SaleItemId | int | |
| PerformanceId | int | |
| SaleDate | datetime | |
| ReservationAccountQuantity | int | |
| TicketAccountQuantity | int | |
| Indexes | ||
| PK__DATA_Acc__A06732C6CDED3A05 | Primary Key ON AccountLimitDataId | |
| Idx_DATA_AccountLimit_SaleID | Index ON SaleId, SaleItemId, PerformanceId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AccountRelationshipId | int IDENTITY |
| * | FatherAccountId | int |
| * | ChildAccountId | int |
| * | RelationType | smallint |
| * | UseParentMoney | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Acc__09A3281454CF6574 | Primary Key ON AccountRelationshipId | |
| DATA_AccountRelationshipChild | Index ON ChildAccountId | |
| IDX_DATA_AccountRelationshipFather | Index ON FatherAccountId | |
| IDX_DATA_AccountRelationshipSearch | Index ON FatherAccountId, ChildAccountId, RelationType | |
| Foreign Key | ||
| FK__DATA_Acco__Child__4826925F | ChildAccountId ↗ ❏ DATA_Account(AccountId) | |
| FK__DATA_Acco__Fathe__491AB698 | FatherAccountId ↗ ❏ DATA_Account(AccountId) | |
| FK_DATA_AccountRelationship_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_AccountRelationship_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PasswordId | int IDENTITY |
| * | AccountId | int |
| * | PasswordType | int |
| * | Password | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | Expiry | datetime |
| * | Counter | int |
| Indexes | ||
| PK__DATA_Acc__EA7BF0C86BC5F99F | Primary Key ON PasswordId | |
| Foreign Key | ||
| FK_DATA_AccountTemporaryPasswords_AccountId | AccountId ↗ ❏ DATA_Account | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentId | int |
| * | ResultCode | smallint |
| BillingAddress | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| BillingZipCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Add__9B556A383B391AD6 | Primary Key ON PaymentId | |
| Foreign Key | ||
| FK__DATA_Addr__Payme__4A0EDAD1 | PaymentId ↗ ❏ DATA_PaymentCard | |
| FK_DATA_AddressVerification_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_AddressVerification_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AptRotationCountId | int IDENTITY |
| * | WorkstationId | int |
| * | GateId | int |
| * | SaveDateTime | datetime |
| * | ControlledEntriesCount | int |
| * | ControlledExitsCount | int |
| * | FreeEntriesCount | int |
| * | FreeExitsCount | int |
| ResetFlag | smallint | |
| * | CounterType | smallint DEFAULT 0 |
| Indexes | ||
| PK__DATA_Apt__9D79278FB3910F93 | Primary Key ON AptRotationCountId | |
| IX_DATA_AptRotationCount_WorkstationId_SaveDateTime | Index ON WorkstationId, SaveDateTime | |
| Foreign Key | ||
| FK__DATA_AptR__GateI__4B02FF0A | GateId ↗ ❏ ADM_Gate | |
| FK__DATA_AptR__Works__4BF72343 | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | BOS2CRMEntityId | int IDENTITY |
| * | CRMType | int |
| * | BOSEntityTable | smallint |
| * | BOSEntityId | int |
| * | CRMEntityTable | smallint |
| CRMEntityId | varchar(100) COLLATE Latin1_General_CI_AS | |
| InfoStr1 | varchar(100) COLLATE Latin1_General_CI_AS | |
| InfoInt1 | int | |
| InfoFloat1 | float | |
| InfoDateTime1 | datetime | |
| * | Last_UserId_Log | int |
| * | Last_WorkstationId_Log | int |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_BOS__E971304FE97A5C31 | Primary Key ON BOS2CRMEntityId | |
| Foreign Key | ||
| FK_DATA_BOS2CRMEntity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_BOS2CRMEntity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | BankAccountId | int IDENTITY |
| * | AccountId | int |
| HolderName | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| SortCode | nvarchar(8) COLLATE Latin1_General_CI_AS | |
| AccountNumber | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| CountryCode | char(2) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Ban__4FC8E4A18FE5FC71 | Primary Key ON BankAccountId | |
| Foreign Key | ||
| FK__DATA_Bank__Accou__4CEB477C | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_BankAccount_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_BankAccount_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | BatchId | int IDENTITY |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | BatchPrintCode | varchar(30) COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__DATA_Bat__5D55CE5873D8662C | Primary Key ON BatchId | |
| Idx_DATA_Batch_BatchPrintCode | Index ON BatchPrintCode | |
| Foreign Key | ||
| FK_DATA_Batch_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Batch_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DATA_Batch2Reservation_BatchId | BatchId ↙ ❏ DATA_Batch2Reservation | |
| FK__DATA_Rese__Batch__0FAD2F12 | BatchId ↙ ❏ DATA_Reservation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Batch2ReservationId | int IDENTITY |
| * | SaleID | int |
| * | BatchId | int |
| * | Last_UserId_Log | int |
| * | Last_WorkstationId_Log | int |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Bat__B1120796760697FC | Primary Key ON Batch2ReservationId | |
| Foreign Key | ||
| FK_DATA_Batch2Reservation_BatchId | BatchId ↗ ❏ DATA_Batch | |
| FK_DATA_Batch2Reservation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Batch2Reservation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_Batch2Reservation_SaleId | SaleID ↗ ❏ DATA_Reservation(SaleId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | BiometricId | int IDENTITY |
| TicketId | int | |
| * | DeviceId | int |
| * | EnrollmentDate | datetime |
| * | BiometricLen | int |
| * | BiometricInfo | varbinary(max) |
| LastCompareDate | datetime | |
| * | PermanentOverride | smallint DEFAULT 0 |
| * | VoidType | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | BiometricType | smallint DEFAULT 0 |
| TckValidityId | int | |
| Indexes | ||
| PK__DATA_Bio__9CF3DB66B47AECF0 | Primary Key ON BiometricId | |
| Foreign Key | ||
| FK_DATA_Biometric_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Biometric_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_Biometric_TckValidityId | TckValidityId ↗ ❏ OFF_TckValidity | |
| fkDATA_Biometric_CNF_Device | DeviceId ↗ ❏ CNF_Device | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Biometric2TicketId | int IDENTITY |
| * | TicketId | int |
| * | BiometricId | int |
| AccountId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Bio__186BA55700A0AA14 | Primary Key ON Biometric2TicketId | |
| IdxDATA_Biometric2Ticket_TicketId | Index ON TicketId | |
| IdxDATA_Biometric2Ticket_BiometricId | Index ON BiometricId | |
| Foreign Key | ||
| FK_DATA_Biometric2Ticket_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Biometric2Ticket_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | BoxId | int IDENTITY |
| * | BoxAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | CreationDate | datetime |
| * | WorkstationId | int |
| * | UserId | int |
| * | Status | smallint |
| * | Overshort | float |
| * | OffLineImport | smallint |
| * | BoxType | smallint DEFAULT 0 |
| Indexes | ||
| PK__DATA_Box__136CF764E33E6D82 | Primary Key ON BoxId | |
| UQ__DATA_Box__136C3472830300E2 | Unique Key ON BoxAK | |
| IDX_DataBox_UserWks | Index ON WorkstationId, UserId | |
| Idx_Box_Full | Index ON UserId, OffLineImport, CreationDate | |
| Foreign Key | ||
| FK__DATA_Box__UserId__4FC7B427 | UserId ↗ ❏ CNF_User | |
| FK__DATA_Box__Workst__50BBD860 | WorkstationId ↗ ❏ CNF_Workstation | |
| Referring Foreign Key | ||
| FK__DATA_Depo__BoxId__5674B1B6 | BoxId ↙ ❏ DATA_Deposit | |
| FK__DATA_Tran__BoxId__6399A2AA | BoxId ↙ ❏ DATA_Transaction | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | CapacityCounterId | int IDENTITY |
| * | CapacityId | int |
| * | CapacityCounterType | smallint |
| * | Quantity | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Cap__37031A8ACA29AC79 | Primary Key ON CapacityCounterId | |
| Foreign Key | ||
| FK_DATA_CapacityCounter_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_CapacityCounter_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Capa__Capac__51AFFC99 | CapacityCounterId ↙ ❏ DATA_CapacityCounterRef | |
| FK__CNF_Perfo__Capac__46735417 | CapacityCounterId ↙ ❏ CNF_PerformanceSeat | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | CapacityCounterRefId | int IDENTITY |
| * | CapacityCounterId | int |
| * | EntityTable | smallint |
| * | EntityId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Cap__9B429D5B0C497BFD | Primary Key ON CapacityCounterRefId | |
| Foreign Key | ||
| FK__DATA_Capa__Capac__51AFFC99 | CapacityCounterId ↗ ❏ DATA_CapacityCounter | |
| FK_DATA_CapacityCounterRef_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_CapacityCounterRef_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SessionId | int IDENTITY |
| * | UserId | int |
| * | WorkstationId | int |
| * | DeviceId | int |
| StartAmount | float | |
| Status | smallint | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Cas__C9F492904A57801B | Primary Key ON SessionId | |
| Foreign Key | ||
| FK_DATA_CashDrawerSession_UserId | UserId ↗ ❏ CNF_User | |
| FK_DATA_CashDrawerSession_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ConfigurationHistoryId | int IDENTITY |
| * | HistoryEntityType | smallint |
| * | HistoryLogType | smallint |
| * | ObjectId | int |
| * | UserId | int |
| * | LogDateTime | datetime |
| Indexes | ||
| PK__DATA_Con__B077B58357DFD608 | Primary Key ON ConfigurationHistoryId | |
| Foreign Key | ||
| FK__DATA_Conf__UserI__52A420D2 | UserId ↗ ❏ CNF_User | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | CounterId | int IDENTITY |
| * | CounterType | smallint |
| * | IdentifierAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | ReferenceTime | varchar(32) COLLATE Latin1_General_CI_AS |
| * | Counter | int |
| LastUpdateGuid | varchar(32) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Cou__F12879C4E83D1543 | Primary Key ON CounterId | |
| idxCounterAK | Index ON CounterType, IdentifierAK, ReferenceTime | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | CouponId | int IDENTITY |
| * | PromotionId | int |
| * | CouponSerial | nvarchar(40) COLLATE Latin1_General_CI_AS |
| * | UserId | int |
| * | InsertDateTime | datetime |
| * | Active | smallint DEFAULT 1 |
| * | StateCoupon | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ActiveFrom | datetime | |
| ActiveTo | datetime | |
| Indexes | ||
| PK__DATA_Cou__384AF1BA95B04CF6 | Primary Key ON CouponId | |
| DATA_Coupon_PromotionId_CouponSerial | Unique Index ON PromotionId, CouponSerial | |
| DATA_Coupon_CouponSerial | Index ON CouponSerial | |
| Foreign Key | ||
| FK__DATA_Coup__Promo__5398450B | PromotionId ↗ ❏ CNF_Promotion | |
| FK_DATA_Coupon_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Coupon_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Sale__Coupo__1C1305F7 | CouponId ↙ ❏ DATA_SaleCoupon | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DBUpdateLogId | int IDENTITY |
| * | LogDateTime | datetime |
| * | UserId | int |
| * | WorkstationId | int |
| ClientName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| ClientVersion | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| MachineName | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| MachineUser | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_DBU__C974FF6CF1DD78CD | Primary Key ON DBUpdateLogId | |
| Foreign Key | ||
| FK__DATA_DBUp__UserI__548C6944 | UserId ↗ ❏ CNF_User | |
| FK__DATA_DBUp__Works__55808D7D | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DepositId | int IDENTITY |
| * | WorkstationId | int |
| * | BoxId | int |
| * | UserId | int |
| * | DepositType | smallint |
| * | DepositDate | datetime |
| * | DepositAmount | float |
| BagNumber | int | |
| AuditId | int | |
| InitialDepositType | smallint | |
| Indexes | ||
| PK__DATA_Dep__AB60DF71128AF0F1 | Primary Key ON DepositId | |
| Foreign Key | ||
| FK__DATA_Depo__BoxId__5674B1B6 | BoxId ↗ ❏ DATA_Box | |
| FK__DATA_Depo__UserI__5768D5EF | UserId ↗ ❏ CNF_User | |
| FK__DATA_Depo__Works__585CFA28 | WorkstationId ↗ ❏ CNF_Workstation | |
| Referring Foreign Key | ||
| FK__DATA_Depo__Depos__5A45429A | DepositId ↙ ❏ DATA_DepositDetail | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DepositDetailId | int IDENTITY |
| * | CurrencyId | int |
| * | DepositId | int |
| * | PaymentMethodId | int |
| DetailCode | int | |
| Amount | float | |
| Quantity | int | |
| SinglePrice | float | |
| CurrencyAmount | float | |
| Indexes | ||
| PK__DATA_Dep__D92FCB69F2E9BAF0 | Primary Key ON DepositDetailId | |
| Foreign Key | ||
| FK__DATA_Depo__Curre__59511E61 | CurrencyId ↗ ❏ CNF_Currency | |
| FK__DATA_Depo__Depos__5A45429A | DepositId ↗ ❏ DATA_Deposit | |
| FK__DATA_Depo__Payme__5B3966D3 | PaymentMethodId ↗ ❏ CNF_PaymentMethod | |
| Referring Foreign Key | ||
| FK__DATA_Depo__Depos__5C2D8B0C | DepositDetailId ↙ ❏ DATA_DepositVoucher | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DepositVoucherId | int IDENTITY |
| * | DepositDetailId | int |
| * | VoucherId | int |
| Indexes | ||
| PK__DATA_Dep__8DFCD03F4E373D88 | Primary Key ON DepositVoucherId | |
| UQ__DATA_Dep__3AEE79203AA437BC | Unique Key ON VoucherId | |
| Foreign Key | ||
| FK__DATA_Depo__Depos__5C2D8B0C | DepositDetailId ↗ ❏ DATA_DepositDetail | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DevOpId | int IDENTITY |
| * | Last_UserId_Log | int |
| * | Last_WorkstationId_Log | int |
| Last_DateTime_Log | datetime | |
| DeviceCode | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| OperationTimeStamp | datetime | |
| OperationCategory | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| OperationType | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| OperationSubType | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| OperationNo | int | |
| OperationSeq | int | |
| OperationValue | float | |
| OperationInfo | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| OperationExtInfo | nvarchar(3000) COLLATE Latin1_General_CI_AS | |
| * | OperationCompleted | smallint DEFAULT 0 |
| OperationNote | nvarchar(3000) COLLATE Latin1_General_CI_AS | |
| OperationCardInput | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| OperationCardOutput | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Dev__29A4574B8F7C820B | Primary Key ON DevOpId | |
| Idx_DevOp_DevCode_OpCat | Index ON DeviceCode, OperationCategory | |
| Idx_DevOp_DevCode_OpCat_OpType | Index ON DeviceCode, OperationCategory, OperationType | |
| Idx_DevOp_DevCode_OpCat_OpType_OpSubType | Index ON DeviceCode, OperationCategory, OperationType, OperationSubType | |
| Foreign Key | ||
| FK_DATA_DeviceOperations_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_DeviceOperations_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DmgDataId | int IDENTITY |
| FieldNumber | smallint | |
| ObjType | smallint | |
| * | MaskData | nvarchar(200) COLLATE Latin1_General_CI_AS |
| DataMaskId | int | |
| * | DmgType | smallint |
| * | FKey | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DmgDataDetailsId | int | |
| Indexes | ||
| PK__DATA_Dmg__AD49452B61B83949 | Primary Key ON DmgDataId | |
| IDX_DmgData_DmgTypeFKey | Index ON DmgType, FKey | |
| IDX_DmgData_MaskData | Index ON MaskData | |
| IDX_DmgTypeFKeyObjType | Index ON DmgType, FKey, ObjType | |
| IDX_DmgData_FKey | Index ON FKey | |
| Foreign Key | ||
| FK__DATA_DmgD__DataM__5D21AF45 | DataMaskId ↗ ❏ CNF_DataMask | |
| FK_DATA_DmgData_DmgDataDetailsId | DmgDataDetailsId ↗ ❏ DATA_DmgDataDetails | |
| FK_DATA_DmgData_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_DmgData_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| DATA_DmgData_DmgData_Translate | DmgDataId ↙ ❏ DATA_DmgData_Translate | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | DmgDataDetailsId | int IDENTITY |
| * | DmgCategoryId | int |
| * | MaskId | int |
| * | DetailGroupOrder | int |
| Preferred | smallint | |
| Indexes | ||
| PK__DATA_Dmg__F5425D897EB5FFBF | Primary Key ON DmgDataDetailsId | |
| Foreign Key | ||
| FK_DATA_DmgDataDetails_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_DATA_DmgDataDetails_MaskId | MaskId ↗ ❏ CNF_Mask | |
| Referring Foreign Key | ||
| FK_DATA_DmgData_DmgDataDetailsId | DmgDataDetailsId ↙ ❏ DATA_DmgData | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DmgDataTranslateId | int IDENTITY |
| * | DmgDataId | int |
| MaskData | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| LanguageId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Dmg__8FF1704C72FF8636 | Primary Key ON DmgDataTranslateId | |
| Foreign Key | ||
| CNF_Language_DmgData_Translate | LanguageId ↗ ❏ CNF_Language | |
| DATA_DmgData_DmgData_Translate | DmgDataId ↗ ❏ DATA_DmgData | |
| FK_DATA_DmgData_Translate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_DmgData_Translate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExceptionLogId | int IDENTITY |
| * | LogDateTime | datetime |
| * | UserId | int |
| * | WorkstationId | int |
| * | ExceptionStr | varchar(500) COLLATE Latin1_General_CI_AS |
| * | ExceptionType | smallint |
| * | HandleType | smallint |
| * | Status | smallint |
| Indexes | ||
| PK__DATA_Exc__7AE5C47240005D5F | Primary Key ON ExceptionLogId | |
| Idx_ExceptionLog_UserId_WksId | Index ON UserId, WorkstationId | |
| Foreign Key | ||
| FK__DATA_Exce__UserI__5FFE1BF0 | UserId ↗ ❏ CNF_User | |
| FK__DATA_Exce__Works__60F24029 | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExtendedInfoId | int IDENTITY |
| * | ExtendedInfoAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | DmgCategoryId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Ext__11A9BBF7DCB8CF01 | Primary Key ON ExtendedInfoId | |
| Foreign Key | ||
| FK__DATA_Exte__DmgCa__275A9B71 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_DATA_ExtendedInfo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_ExtendedInfo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Exte__Exten__2A37081C | ExtendedInfoId ↙ ❏ DATA_ExtendedInfo2SaleItem | |
| FK__DATA_Exte__Exten__2E079900 | ExtendedInfoId ↙ ❏ DATA_ExtendedInfo2Ticket | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExtendedInfo2SaleItemId | int IDENTITY |
| * | ExtendedInfoId | int |
| * | SaleItemId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Ext__AE31A1FA6148B033 | Primary Key ON ExtendedInfo2SaleItemId | |
| Idx_DATA_Extenedednfo2SI_SaleItemId | Index ON SaleItemId | |
| Foreign Key | ||
| FK__DATA_Exte__Exten__2A37081C | ExtendedInfoId ↗ ❏ DATA_ExtendedInfo | |
| FK__DATA_Exte__SaleI__2B2B2C55 | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_ExtendedInfo2SaleItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_ExtendedInfo2SaleItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExtendedInfo2TicketId | int IDENTITY |
| * | ExtendedInfoId | int |
| * | TicketId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Ext__6BA669AC0E22DD20 | Primary Key ON ExtendedInfo2TicketId | |
| IDX_ExtendedInfo2TI_TicketId | Index ON TicketId | |
| Foreign Key | ||
| FK__DATA_Exte__Exten__2E079900 | ExtendedInfoId ↗ ❏ DATA_ExtendedInfo | |
| FK__DATA_Exte__Ticke__2EFBBD39 | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_ExtendedInfo2Ticket_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_ExtendedInfo2Ticket_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ExternalServiceLogId | int IDENTITY |
| * | LogDateTime | datetime |
| * | LogType | smallint |
| Request | ntext COLLATE Latin1_General_CI_AS | |
| Response | ntext COLLATE Latin1_General_CI_AS | |
| KeyField | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| ExternalKey | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| * | UserId | int |
| * | WorkstationId | int |
| Indexes | ||
| PK__DATA_Ext__E8793BF84AF53BD5 | Primary Key ON ExternalServiceLogId | |
| Foreign Key | ||
| FK__DATA_Exte__UserI__61E66462 | UserId ↗ ❏ CNF_User | |
| FK__DATA_Exte__Works__62DA889B | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DetailId | int IDENTITY |
| * | MasterId | int |
| OriginalValue | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| ModifiedValue | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| DBColumnId | int | |
| Indexes | ||
| PK__DATA_HL___135C316DD7DBE71D | Primary Key ON DetailId | |
| IDX_DATA_HL_Detail_MasterId | Index ON MasterId | |
| Foreign Key | ||
| FK_DATA_HL_Detail_DBColumnId | DBColumnId ↗ ❏ CNF_DBColumn | |
| FK_DATA_HL_Detail_MasterId | MasterId ↗ ❏ DATA_HL_Master | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MasterId | int IDENTITY |
| ReferenceId | int | |
| OperationType | smallint | |
| UserId | int | |
| WorkstationId | int | |
| InsDateTime | datetime | |
| DBTableId | int | |
| DelDateTime | datetime | |
| Purged | smallint | |
| Indexes | ||
| PK__DATA_HL___F6B7822417F1013D | Primary Key ON MasterId | |
| IDX_DATA_HL_Master_DBTableId | Index ON DBTableId | |
| Idx_HLMaster_RefId_DbTableId | Index ON ReferenceId, DBTableId | |
| Foreign Key | ||
| FK_DATA_HL_Master_DBTableId | DBTableId ↗ ❏ CNF_DBTable | |
| Referring Foreign Key | ||
| FK_DATA_HL_Detail_MasterId | MasterId ↙ ❏ DATA_HL_Detail | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | HistoryOperationId | int IDENTITY |
| * | HistoryLogType | int |
| * | UserId | int |
| * | DateOperation | datetime |
| Note | nvarchar(4000) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK_DATA_History_Operation | Primary Key ON HistoryOperationId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | HistoryOverrideId | int IDENTITY |
| * | WorkstationId | int |
| * | UserId | int |
| * | SupervisorUserId | int |
| * | OverrideType | smallint |
| TransactionId | int | |
| * | InsDateTime | datetime |
| Indexes | ||
| PK__DATA_His__41DDFFD48235C881 | Primary Key ON HistoryOverrideId | |
| IDX_DATA_History_Override_TransactionId | Index ON TransactionId | |
| Foreign Key | ||
| FK_DATA_History_Override_SupervisorUserId | SupervisorUserId ↗ ❏ CNF_User(UserId) | |
| FK_DATA_History_Override_TransactionId | TransactionId ↗ ❏ DATA_Transaction | |
| FK_DATA_History_Override_UserId | UserId ↗ ❏ CNF_User | |
| FK_DATA_History_Override_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | IncentiveTicketUsageId | int IDENTITY |
| * | SaleItemId | int |
| * | IncentiveTicketId | int |
| Quantity | int | |
| Indexes | ||
| PK__DATA_Inc__8FB4A5BC57B3D847 | Primary Key ON IncentiveTicketUsageId | |
| Foreign Key | ||
| FK_IncentiveTicketUsage_IncentiveTicket | IncentiveTicketId ↗ ❏ CNF_IncentiveTicket | |
| FK_IncentiveTicketUsage_SaleItem | SaleItemId ↗ ❏ DATA_SaleItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | InvoiceDataId | int IDENTITY |
| * | InvoiceId | int |
| * | TransactionId | int |
| Section | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| Prefix | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Suffix | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| InvoiceNumber | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Extension | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| InvoiceURL | nvarchar(300) COLLATE Latin1_General_CI_AS | |
| CreditNoteTransactionId | int | |
| DocumentType | smallint | |
| DocumentGeneralType | smallint | |
| CreditNoteAccountId | int | |
| InternalId | int | |
| InvoiceStatus | smallint | |
| Indexes | ||
| PK__DATA_Inv__39259983E6BE4DD5 | Primary Key ON InvoiceDataId | |
| Foreign Key | ||
| fk_CNF_Invoice_InvoiceId | InvoiceId ↗ ❏ CNF_Invoice | |
| FK_DATA_InvoiceData_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_InvoiceData_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_DATA_InvoiceData_TransactionId | TransactionId ↗ ❏ DATA_Transaction | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LedgerId | int IDENTITY |
| * | LedgerAccountId | int |
| * | TransactionId | int |
| * | EntryAmount | float |
| ReferenceTable | smallint | |
| ReferenceId | int | |
| DueDate | smalldatetime | |
| PaymentId | int | |
| VoucherId | int | |
| AccountId | int | |
| TicketId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Led__AE70E0CFF690268A | Primary Key ON LedgerId | |
| IDX_DATA_Ledger_Transaction_AccountId | Index ON TransactionId, LedgerAccountId, DueDate, ReferenceTable, ReferenceId | |
| IDX_DATA_LedgerAccId | Index ON AccountId | |
| IDX_DATA_LedgerVoucherId | Index ON VoucherId | |
| IDX_DATALedgerPaymentId | Index ON PaymentId | |
| IDX_DATALedgerTicketId | Index ON TicketId | |
| IDX_Ledger_TransactionId | Index ON TransactionId | |
| idxDATA_LedgerAccountId | Index ON LedgerAccountId, DueDate, ReferenceTable, ReferenceId | |
| Idx_Ledger_AccountId_RefId | Index ON AccountId, ReferenceId | |
| Foreign Key | ||
| FK__DATA_Ledg__Accou__679F3DB8 | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Ledg__Ledge__689361F1 | LedgerAccountId ↗ ❏ CNF_LedgerAccount | |
| FK__DATA_Ledg__Payme__6987862A | PaymentId ↗ ❏ DATA_Payment | |
| FK__DATA_Ledg__Ticke__6A7BAA63 | TicketId ↗ ❏ DATA_Ticket | |
| FK__DATA_Ledg__Trans__6B6FCE9C | TransactionId ↗ ❏ DATA_Transaction | |
| FK__DATA_Ledg__Vouch__6C63F2D5 | VoucherId ↗ ❏ DATA_Voucher | |
| FK_DATA_Ledger_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Ledger_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LockId | int IDENTITY |
| * | SessionId | varchar(38) COLLATE Latin1_General_CI_AS |
| * | ForeignTable | smallint |
| * | ForeignKey | int |
| * | LockDateTime | datetime |
| Indexes | ||
| PK__DATA_Loc__E7C1E23236F5486D | Primary Key ON LockId | |
| IDX_Lock_Foreign | Unique Index ON ForeignTable, ForeignKey | |
| Foreign Key | ||
| FK__DATA_Lock__Sessi__6D58170E | SessionId ↗ ❏ DATA_Session | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MediaId | int IDENTITY |
| * | VoidType | smallint |
| * | Printed | smallint |
| DocTemplateId | int | |
| PrintDateTime | datetime | |
| * | ExternalMedia | smallint |
| * | SaveStoredValue | smallint |
| * | WriteInfoOnChip | smallint DEFAULT 0 |
| LastSerial | int | |
| LastAccountId | int | |
| LastVoidType | smallint | |
| PerformanceID | int | |
| ExternalId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Med__B2C2B5CF2EA04E96 | Primary Key ON MediaId | |
| Idx_DM_PerformanceId | Index ON PerformanceID | |
| Foreign Key | ||
| FK__DATA_Medi__DocTe__6E4C3B47 | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK_DATA_Media_CNF_Performance_PerformanceId | PerformanceID ↗ ❏ CNF_Performance(PerformanceId) | |
| FK_DATA_Media_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Media_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Medi__Media__703483B9 | MediaId ↙ ❏ DATA_MediaIdentifier | |
| FK__DATA_Medi__Media__74F938D6 | MediaId ↙ ❏ DATA_MediaStoredValue | |
| FK_DATA_NFCIdentifier_DATA_Media | MediaId ↙ ❏ DATA_NFCIdentifier | |
| FK_DATA_SaleItemRedeem_MediaId | MediaId ↙ ❏ DATA_SaleItemRedeem(FromMediaId) | |
| FK__DATA_Sale__Media__21CBDF4D | MediaId ↙ ❏ DATA_SaleItem | |
| fkData_SaleItem_Data_Media_AttachedMediaID | MediaId ↙ ❏ DATA_SaleItem | |
| FK_DATA_Media2Performances_DATA_Media_MediaId | MediaId ↙ ❏ DATA_Media2Performances | |
| FK__DATA_Tick__Media__53633AE1 | MediaId ↙ ❏ DATA_Ticket2Media | |
| FK__DATA_Tran__Media__6A46A039 | MediaId ↙ ❏ DATA_Transaction2Media | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Media2PerformancesId | int IDENTITY |
| * | MediaId | int |
| * | PerformanceId | int |
| * | AccountId | int |
| * | VoidType | smallint DEFAULT 0 |
| TicketId | int | |
| TransactionId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Med__E400A4C1BA7FA772 | Primary Key ON Media2PerformancesId | |
| Idx_DATA_M2P_Media_Perf | Index ON MediaId, PerformanceId | |
| Idx_DATA_M2P_Media_Perf_Account | Index ON MediaId, PerformanceId, AccountId | |
| Idx_DATA_M2P_Media_Account | Index ON MediaId, AccountId | |
| Idx_DATA_M2P_PerformanceId | Index ON PerformanceId | |
| Foreign Key | ||
| FK_DATA_Media2Performances_CNF_Performance_PerformanceId | PerformanceId ↗ ❏ CNF_Performance | |
| FK_DATA_Media2Performances_DATA_Account_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_Media2Performances_DATA_Media_MediaId | MediaId ↗ ❏ DATA_Media | |
| FK_DATA_Media2Performances_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Media2Performances_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkDATA_Media2Performances_DATA_Ticket_TicketId | TicketId ↗ ❏ DATA_Ticket | |
| fkDATA_Media2Performances_DATA_Transaction_TransactionId | TransactionId ↗ ❏ DATA_Transaction | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MediaIdentifierId | int IDENTITY |
| * | MediaId | int |
| * | IdentifierType | smallint |
| * | IdentifierCode | varchar(400) COLLATE Latin1_General_CI_AS |
| ExternalMediaTypeId | int | |
| Serial | int | |
| AccountId | int | |
| * | VoidType | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Med__C5F4E851046C2907 | Primary Key ON MediaIdentifierId | |
| IDX_MediaIdentifierCode | Unique Index ON IdentifierCode | |
| idxDATA_MediaIdentifier_MediaId | Index ON MediaId | |
| IDX_DATA_MediaIdentifier_AccountID | Index ON AccountId | |
| Foreign Key | ||
| FK__DATA_Medi__Exter__6F405F80 | ExternalMediaTypeId ↗ ❏ CNF_ExternalMediaType | |
| FK__DATA_Medi__Media__703483B9 | MediaId ↗ ❏ DATA_Media | |
| FK_DATA_MediaIdentifier_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_MediaIdentifier_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkDATA_MediaIdentifier_DATA_Account | AccountId ↗ ❏ DATA_Account | |
| Referring Foreign Key | ||
| FK_DATA_Tick_Media | MediaIdentifierId ↙ ❏ DATA_TicketUsage | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MediaBlackListId | int IDENTITY |
| IdentifierCode | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| DateFrom | datetime | |
| DateTo | datetime | |
| BlockCause | smallint | |
| EventId | int | |
| * | UserId | int |
| * | InsertDateTime | datetime |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Med__0AF87BFFC26F3F88 | Primary Key ON MediaBlackListId | |
| IDX_BlackList_IdentifierCode | Index ON IdentifierCode | |
| Foreign Key | ||
| FK__DATA_Medi__Event__721CCC2B | EventId ↗ ❏ CNF_Event | |
| FK__DATA_Medi__UserI__7310F064 | UserId ↗ ❏ CNF_User | |
| FK_DATA_MediaIdentifierBlackList_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_MediaIdentifierBlackList_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MediaIdentifierNotRecognizedID | int IDENTITY |
| * | MediaIdentifier | varchar(400) COLLATE Latin1_General_CI_AS |
| GateId | int | |
| WorkstationId | int | |
| AccessConfigurationId | int | |
| * | UsageDate | datetime |
| * | ValidateResult | smallint |
| * | ValidationType | smallint |
| UserId | int | |
| Indexes | ||
| PK__DATA_Med__5A04ACAAAE238E51 | Primary Key ON MediaIdentifierNotRecognizedID | |
| IDX_DATA_MediaIdentifierNotRecognized_GateId | Index ON GateId | |
| IDX_DATA_MediaIdentifierNotRecognized_MediaIdentifier | Index ON MediaIdentifier | |
| IDX_DATA_MediaIdentifierNotRecognized_UsageDate | Index ON UsageDate | |
| IDX_DATA_MediaIdentifierNotRecognized_WksId | Index ON WorkstationId | |
| IDX_DATA_MediaIdentifierNotRecognized_AccConfId | Index ON AccessConfigurationId | |
| Foreign Key | ||
| FK_DATA_MediaIdentifierNotRecognized_AccConfId | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK_DATA_MediaIdentifierNotRecognized_GateId | GateId ↗ ❏ ADM_Gate | |
| FK_DATA_MediaIdentifierNotRecognized_UserId | UserId ↗ ❏ CNF_User | |
| FK_DATA_MediaIdentifierNotRecognized_WksId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MediaStoredValueId | int IDENTITY |
| * | TransactionId | int |
| * | MediaId | int |
| * | Status | smallint |
| * | DeltaAmount | float |
| CompletionTS | datetime | |
| * | TicketId | int |
| * | MatrixCellId | int DEFAULT 1 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Med__D068F74AA5AD131E | Primary Key ON MediaStoredValueId | |
| Foreign Key | ||
| FK__DATA_Medi__Matri__7405149D | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__DATA_Medi__Media__74F938D6 | MediaId ↗ ❏ DATA_Media | |
| FK__DATA_Medi__Ticke__75ED5D0F | TicketId ↗ ❏ DATA_Ticket | |
| FK__DATA_Medi__Trans__76E18148 | TransactionId ↗ ❏ DATA_Transaction | |
| FK_DATA_MediaStoredValue_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_MediaStoredValue_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MergeAccountLogId | int IDENTITY |
| * | OldAccountId | int |
| * | NewAccountId | int |
| * | MergeDate | datetime |
| Unmerged | smallint | |
| UnmergeDate | datetime | |
| Indexes | ||
| PK__DATA_Mer__087E0B7FA3E8B0EC | Primary Key ON MergeAccountLogId | |
| Foreign Key | ||
| fk_DATA_MergeAccountLog_NewAccountId | NewAccountId ↗ ❏ DATA_Account(AccountId) | |
| fk_DATA_MergeAccountLog_OldAccountId | OldAccountId ↗ ❏ DATA_Account(AccountId) | |
| Referring Foreign Key | ||
| fk_DATA_MergeAccountLogItem_MergeAccountLogId | MergeAccountLogId ↙ ❏ DATA_MergeAccountLogItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MergeAccountLogItemId | int IDENTITY |
| * | MergeAccountLogId | int |
| * | EntityType | int |
| * | EntityId | int |
| * | ColumnName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | EntityIdColumnName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__DATA_Mer__CBB4B8BC282E58AA | Primary Key ON MergeAccountLogItemId | |
| Foreign Key | ||
| fk_DATA_MergeAccountLogItem_MergeAccountLogId | MergeAccountLogId ↗ ❏ DATA_MergeAccountLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | IdentifierId | int IDENTITY |
| * | MSISDN | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | RecordId | int |
| * | MediaId | int |
| AuthId | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| RequestId | int | |
| Status | int | |
| Device | int | |
| ErrorCode | int | |
| ErrorDescription | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| LineState | int | |
| ChangeStatusReason | int | |
| DateTimeChange | datetime | |
| DateTimeCall | datetime | |
| ChangeLineStateReason | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK_DATA_NFCIdentifier | Primary Key ON IdentifierId | |
| IX_DATA_NFCIdentifier_MSISDN | Index ON MSISDN | |
| IX_DATA_NFCIdentifier_RequestId | Index ON RequestId | |
| Foreign Key | ||
| FK_DATA_NFCIdentifier_DATA_Media | MediaId ↗ ❏ DATA_Media | |
| FK_DATA_NFCIdentifier_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_NFCIdentifier_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | NoteId | int IDENTITY |
| * | NoteType | smallint |
| * | NoteKey | int |
| NoteDate | datetime | |
| UserId | int | |
| WorkStationId | int | |
| Note | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| IsTask | smallint DEFAULT 0 | |
| NoteAK | nvarchar(32) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Not__EACE355F30C1A237 | Primary Key ON NoteId | |
| IDX_Note_TypeKey | Index ON NoteKey, NoteType | |
| Idx_Data_Note_IsTask | Index ON IsTask, NoteId | |
| Idx_Note_Type_Key | Index ON NoteType | |
| Referring Foreign Key | ||
| FK_Data_Note_NoteId | NoteId ↙ ❏ DATA_NoteTask | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TaskId | int IDENTITY |
| * | NoteId | int |
| * | UserId | int |
| DateTimeStart | datetime | |
| DateTimeEnd | datetime | |
| DateTimeLastUpdate | datetime | |
| * | Status | int |
| Reminder | smallint | |
| ReminderDaysBeforeDue | int | |
| ReminderRepeat | int | |
| ReminderDurationMinutes | int | |
| icsUID | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| icsSequence | int | |
| Indexes | ||
| PK__DATA_Not__7C6949B1A886D0AE | Primary Key ON TaskId | |
| Idx_Data_NoteTask | Index ON NoteId | |
| Idx_Data_NoteTask_DateStart | Index ON DateTimeStart, NoteId | |
| Idx_Data_NoteTask_DateEnd | Index ON DateTimeEnd, NoteId | |
| Idx_Data_NoteTask_Status | Index ON Status, DateTimeEnd | |
| Idx_Data_NoteTask_User | Index ON UserId, Status, DateTimeEnd | |
| Idx_Data_NoteTask_UID | Index ON icsUID | |
| Foreign Key | ||
| FK_Data_Note_NoteId | NoteId ↗ ❏ DATA_Note | |
| FK_Data_Note_UserId | UserId ↗ ❏ CNF_User | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Notification2EntityId | int IDENTITY |
| * | NotificationId | int |
| * | EntityTable | int |
| * | EntityId | int |
| Completed | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Not__62B151951204452C | Primary Key ON Notification2EntityId | |
| Foreign Key | ||
| FK_CNF_NotificationDATA_Notification2Entity | NotificationId ↗ ❏ CNF_Notification | |
| FK_DATA_Notification2Entity_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Notification2Entity_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentId | int IDENTITY |
| * | PaymentDate | datetime |
| * | FPaymentDate | datetime |
| * | PaymentAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | PaymentStatus | smallint |
| * | TransactionId | int |
| PaymentAmount | float | |
| PaymentType | smallint | |
| * | PaymentMethodId | int |
| * | CurrencyId | int |
| * | CurrencyAmount | float |
| * | ExchangeRate | float |
| * | PaymentFee | float DEFAULT 0 |
| * | ChangeAmount | float DEFAULT 0 |
| * | ChangeType | smallint DEFAULT 0 |
| * | DonationAmount | float DEFAULT 0 |
| DonationFormId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ForeignCurrencyPriceDiff | float | |
| TipsAmount | float | |
| ConfirmationStatus | smallint | |
| Indexes | ||
| PK__DATA_Pay__9B556A38057B04CE | Primary Key ON PaymentId | |
| UQ__DATA_Pay__9B55292A44800226 | Unique Key ON PaymentAK | |
| Idx_DATA_Payment_PaymentStatus_TransactionId | Index ON PaymentStatus, TransactionId | |
| Idx_DATA_Payment_TransactionId | Index ON TransactionId | |
| Idx_DATA_Payment_TransactionId_PaymentType | Index ON TransactionId, PaymentType | |
| Idx_DATA_Payment_PaymentStatus_TransactionId_PaymentType | Index ON PaymentStatus, TransactionId, PaymentType | |
| Foreign Key | ||
| FK__DATA_Paym__Curre__78C9C9BA | CurrencyId ↗ ❏ CNF_Currency | |
| FK__DATA_Paym__Payme__79BDEDF3 | PaymentMethodId ↗ ❏ CNF_PaymentMethod | |
| FK__DATA_Paym__Trans__7AB2122C | TransactionId ↗ ❏ DATA_Transaction | |
| FK_DATA_Payment_DonationFormId | DonationFormId ↗ ❏ CNF_DonationForm | |
| FK_DATA_Payment_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Payment_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Ledg__Payme__6987862A | PaymentId ↙ ❏ DATA_Ledger | |
| FK__DATA_Paym__Payme__309161F5 | PaymentId ↙ ❏ DATA_PaymentExternalDetail | |
| FK__DATA_Paym__Payme__7BA63665 | PaymentId ↙ ❏ DATA_PaymentB2B | |
| FK__DATA_Paym__Payme__7E82A310 | PaymentId ↙ ❏ DATA_PaymentCard | |
| FK__DATA_Paym__Payme__025333F4 | PaymentId ↙ ❏ DATA_PaymentCredit | |
| FK__DATA_Paym__Payme__0717E911 | PaymentId ↙ ❏ DATA_PaymentFlex | |
| FK__DATA_Paym__Renew__080C0D4A | PaymentId ↙ ❏ DATA_PaymentFlex(RenewFromPaymentId) | |
| FK__DATA_Paym__Payme__09003183 | PaymentId ↙ ❏ DATA_PaymentPlan | |
| FK__DATA_Paym__Payme__35403D22 | PaymentId ↙ ❏ DATA_PaymentCheck | |
| FK__DATA_Paym__Payme__4A1B5E77 | PaymentId ↙ ❏ DATA_PaymentCheck | |
| fk_DATA_PaymentHotel_PaymentId | PaymentId ↙ ❏ DATA_PaymentHotel | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentAccountId | int IDENTITY |
| * | PaymentAccountType | smallint |
| * | EncodingType | smallint |
| EncodingIndex | int | |
| * | EncodedData | text COLLATE Latin1_General_CI_AS |
| PaymentAccountRecap | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| PaymentCardId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Pay__0CFE65A5CF84803E | Primary Key ON PaymentAccountId | |
| Foreign Key | ||
| fk_DATA_PaymentAccont_PaymentCardId | PaymentCardId ↗ ❏ CNF_PaymentCard | |
| FK_DATA_PaymentAccount_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentAccount_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Paym__Payme__0623C4D8 | PaymentAccountId ↙ ❏ DATA_PaymentFlex | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentId | int |
| * | AccountId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Pay__9B556A38FC797F65 | Primary Key ON PaymentId | |
| Foreign Key | ||
| FK__DATA_Paym__Payme__7BA63665 | PaymentId ↗ ❏ DATA_Payment | |
| FK_DATA_PaymentB2B_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentB2B_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentId | int |
| DeviceId | int | |
| MerchantId | int | |
| * | PaymentCardId | int |
| WorkstationId | int | |
| Status | smallint | |
| PaymentAmount | float | |
| CardNumber | varchar(40) COLLATE Latin1_General_CI_AS | |
| StartValidity | varchar(4) COLLATE Latin1_General_CI_AS | |
| EndValidity | varchar(4) COLLATE Latin1_General_CI_AS | |
| AuthorizationCode | varchar(20) COLLATE Latin1_General_CI_AS | |
| AuthorizationMode | smallint | |
| InputType | smallint | |
| CardHolderName | varchar(30) COLLATE Latin1_General_CI_AS | |
| PaymentSubType | smallint | |
| CHVerificationMode | smallint | |
| SequenceNumber | int | |
| RetrivialReference | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| DevResponseCode | varchar(5) COLLATE Latin1_General_CI_AS | |
| DevRespMessage | varchar(30) COLLATE Latin1_General_CI_AS | |
| TerminalId | varchar(10) COLLATE Latin1_General_CI_AS | |
| AppId | varchar(32) COLLATE Latin1_General_CI_AS | |
| VerificationResult | varchar(10) COLLATE Latin1_General_CI_AS | |
| AppLabel | varchar(16) COLLATE Latin1_General_CI_AS | |
| TransactionType | varchar(10) COLLATE Latin1_General_CI_AS | |
| B24Code | varchar(5) COLLATE Latin1_General_CI_AS | |
| ISOCode | varchar(5) COLLATE Latin1_General_CI_AS | |
| CardName | varchar(30) COLLATE Latin1_General_CI_AS | |
| SignLine | varchar(30) COLLATE Latin1_General_CI_AS | |
| SignLineC | varchar(30) COLLATE Latin1_General_CI_AS | |
| TransactionStatus | varchar(4) COLLATE Latin1_General_CI_AS | |
| PinIndicator | varchar(30) COLLATE Latin1_General_CI_AS | |
| AcqRefData | varchar(200) COLLATE Latin1_General_CI_AS | |
| RecordNo | nvarchar(300) COLLATE Latin1_General_CI_AS | |
| ProcessData | nvarchar(300) COLLATE Latin1_General_CI_AS | |
| SystemTraceAuditNumber | int | |
| TransactionDateTime | datetime | |
| TransactionDateTimeGMT | datetime | |
| ResponseCode | varchar(10) COLLATE Latin1_General_CI_AS | |
| AVSResultCode | varchar(2) COLLATE Latin1_General_CI_AS | |
| CCVResultCode | varchar(10) COLLATE Latin1_General_CI_AS | |
| ReferenceNumber | nvarchar(60) COLLATE Latin1_General_CI_AS | |
| OrderNumber | varchar(20) COLLATE Latin1_General_CI_AS | |
| POSEntryMode | varchar(6) COLLATE Latin1_General_CI_AS | |
| AuthorizingNetworkID | varchar(6) COLLATE Latin1_General_CI_AS | |
| VISAACI | varchar(2) COLLATE Latin1_General_CI_AS | |
| VISAMSDI | varchar(30) COLLATE Latin1_General_CI_AS | |
| VISACardLevelResult | varchar(4) COLLATE Latin1_General_CI_AS | |
| VISATransID | varchar(30) COLLATE Latin1_General_CI_AS | |
| MCBankNet | varchar(30) COLLATE Latin1_General_CI_AS | |
| MCACI | varchar(2) COLLATE Latin1_General_CI_AS | |
| MCMSDI | varchar(30) COLLATE Latin1_General_CI_AS | |
| MCCCVErrorCode | varchar(1) COLLATE Latin1_General_CI_AS | |
| MCPOSEntryModeChg | varchar(1) COLLATE Latin1_General_CI_AS | |
| DSDiscProcCode | varchar(12) COLLATE Latin1_General_CI_AS | |
| DSDiscPOSEntry | varchar(8) COLLATE Latin1_General_CI_AS | |
| DSDiscRespCode | varchar(4) COLLATE Latin1_General_CI_AS | |
| DSDiscPOSData | varchar(30) COLLATE Latin1_General_CI_AS | |
| DSDiscTransQualifier | varchar(4) COLLATE Latin1_General_CI_AS | |
| DSDiscNRID | varchar(20) COLLATE Latin1_General_CI_AS | |
| AMEXPOSData | varchar(24) COLLATE Latin1_General_CI_AS | |
| AMEXTranID | varchar(30) COLLATE Latin1_General_CI_AS | |
| AMEXGdSoldCd | varchar(10) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| MetaToken | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Pay__9B556A388B29B348 | Primary Key ON PaymentId | |
| Foreign Key | ||
| FK__DATA_Paym__Devic__7C9A5A9E | DeviceId ↗ ❏ CNF_Device | |
| FK__DATA_Paym__Merch__7D8E7ED7 | MerchantId ↗ ❏ CNF_Merchant | |
| FK__DATA_Paym__Payme__7E82A310 | PaymentId ↗ ❏ DATA_Payment | |
| FK__DATA_Paym__Payme__7F76C749 | PaymentCardId ↗ ❏ CNF_PaymentCard | |
| FK__DATA_Paym__Works__006AEB82 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_DATA_PaymentCard_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentCard_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Addr__Payme__4A0EDAD1 | PaymentId ↙ ❏ DATA_AddressVerification | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentId | int |
| CheckNumber | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Pay__9B556A38696020D2 | Primary Key ON PaymentId | |
| Foreign Key | ||
| FK__DATA_Paym__Payme__35403D22 | PaymentId ↗ ❏ DATA_Payment | |
| FK__DATA_Paym__Payme__4A1B5E77 | PaymentId ↗ ❏ DATA_Payment | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentId | int |
| * | EntityId | int |
| * | CreditStatus | smallint |
| DueDate | datetime | |
| SettleTransactionId | int | |
| * | AccountId | int |
| * | EntityTable | smallint |
| AmountDisc | float DEFAULT 0 | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Pay__9B556A38AD8DED63 | Primary Key ON PaymentId | |
| IDX_DATA_PaymentCredit_AccountID_Include | Index ON AccountId | |
| Foreign Key | ||
| FK__DATA_Paym__Accou__015F0FBB | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Paym__Payme__025333F4 | PaymentId ↗ ❏ DATA_Payment | |
| FK__DATA_Paym__Settl__0347582D | SettleTransactionId ↗ ❏ DATA_Transaction(TransactionId) | |
| FK_DATA_PaymentCredit_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentCredit_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentExternalDetailId | int IDENTITY |
| * | PaymentId | int |
| * | DetailType | int |
| * | EntityType | int |
| EntityId | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Code | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| * | UnitAmount | float |
| * | Quantity | int |
| * | TotalAmount | float |
| Description1 | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| Description2 | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| ExtraInfo_xml | nvarchar(max) COLLATE Latin1_General_CI_AS | |
| NetAmountUnit | float | |
| NetAmountTotal | float | |
| ServiceInfo | nvarchar(200) COLLATE Latin1_General_CI_AS | |
| MatrixCellId | int | |
| Indexes | ||
| PK__DATA_Pay__0A272FA2D6A21E4E | Primary Key ON PaymentExternalDetailId | |
| Foreign Key | ||
| FK__DATA_Paym__Payme__309161F5 | PaymentId ↗ ❏ DATA_Payment | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentId | int |
| * | PaymentFlexAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | FlexContractId | int |
| * | AccountId | int |
| * | Duration | int |
| * | PaymentCycleType | smallint |
| * | PaymentCycleValue | int |
| * | DownPaymentType | smallint |
| * | DownPaymentValue | float |
| DocNumber | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| * | PaymentAccountId | int |
| * | Status | smallint |
| InfoXML | ntext COLLATE Latin1_General_CI_AS | |
| AutoRenew | smallint | |
| RenewFromPaymentId | int | |
| * | ExpireDate | datetime |
| * | Expiring | smallint |
| * | DownpaymentAmount | float DEFAULT 0 |
| * | FeeAmount | float DEFAULT 0 |
| * | RefundableFeeAmount | float DEFAULT 0 |
| * | Amount | float DEFAULT 0 |
| * | DownpaymentFeeAmount | float DEFAULT 0 |
| * | DownpaymentRefundableFeeAmount | float DEFAULT 0 |
| * | Ovw6Mode | smallint DEFAULT 0 |
| FlexPlanTemplateId | int | |
| FlexPlanOption | smallint | |
| NonFinanceableAmount | float | |
| ContractStartingDate | datetime | |
| AutoRenewCancelled | smallint | |
| TaxesInDownPayment | smallint | |
| TaxInDownPaymentAmount | float | |
| ContractFilename | varchar(100) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| FinancedDownPayment | float | |
| OwnedAmount | float | |
| Indexes | ||
| PK__DATA_Pay__9B556A38B23C1623 | Primary Key ON PaymentId | |
| UQ_PaymentFlex_PaymentFlexAK | Unique Index ON PaymentFlexAK | |
| Foreign Key | ||
| FK__DATA_Paym__Accou__043B7C66 | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Paym__FlexC__052FA09F | FlexContractId ↗ ❏ CNF_FlexContract | |
| FK__DATA_Paym__Payme__0623C4D8 | PaymentAccountId ↗ ❏ DATA_PaymentAccount | |
| FK__DATA_Paym__Payme__0717E911 | PaymentId ↗ ❏ DATA_Payment | |
| FK__DATA_Paym__Renew__080C0D4A | RenewFromPaymentId ↗ ❏ DATA_Payment(PaymentId) | |
| fk_DATA_PaymentFlex_FlexPlanTemplateId | FlexPlanTemplateId ↗ ❏ CNF_FlexPlanTemplate | |
| FK_DATA_PaymentFlex_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentFlex_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DATA_PaymentFlex_PaymentId | PaymentId ↙ ❏ DATA_PaymentFlex2SaleItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentFlex2SaleItemId | int IDENTITY |
| * | PaymentId | int |
| * | SaleItemId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Pay__6D58A02E4E02842D | Primary Key ON PaymentFlex2SaleItemId | |
| Idx_FlexToSaleItem_SIId | Index ON SaleItemId | |
| Idx_FlexToSaleItem_PaymentId | Index ON PaymentId | |
| Foreign Key | ||
| FK_DATA_PaymentFlex_PaymentId | PaymentId ↗ ❏ DATA_PaymentFlex | |
| FK_DATA_PaymentFlex2SaleItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentFlex2SaleItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_SaleItem_SaleItemId | SaleItemId ↗ ❏ DATA_SaleItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentFlexInfoId | int IDENTITY |
| * | FlexContractId | int |
| * | PayorAccountId | int |
| * | WorkstationId | int |
| * | UserId | int |
| FinancedAmount | float | |
| DownpaymentAmount | float | |
| FeeAmount | float | |
| RefundableFeeAmount | float | |
| DownpaymentFeeAmount | float | |
| DownpaymentRefundableFeeAmount | float | |
| InstallmentAmount | float | |
| AnnualRate | float | |
| CreditCardRecap | char(4) COLLATE Latin1_General_CI_AS | |
| CardTypeDesc | varchar(20) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| OwnedAmount | float | |
| Indexes | ||
| PK__DATA_Pay__508A8805804BCD3C | Primary Key ON PaymentFlexInfoId | |
| Foreign Key | ||
| FK_DATA_PaymentFlexInfo_FlexContractId | FlexContractId ↗ ❏ CNF_FlexContract | |
| FK_DATA_PaymentFlexInfo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentFlexInfo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_PaymentFlexInfo_UserId | UserId ↗ ❏ CNF_User | |
| FK_DATA_PaymentFlexInfo_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentHotelId | int IDENTITY |
| * | PaymentId | int |
| RawRequest | varchar(max) COLLATE Latin1_General_CI_AS | |
| RawAnswer | varchar(max) COLLATE Latin1_General_CI_AS | |
| HotelTransactionId | int | |
| SequenceNumber | int | |
| ResponseStatus | ntext COLLATE Latin1_General_CI_AS | |
| ResponseText | ntext COLLATE Latin1_General_CI_AS | |
| RoomNumber | varchar(10) COLLATE Latin1_General_CI_AS | |
| GuestLastName | varchar(100) COLLATE Latin1_General_CI_AS | |
| HotelReservationId | varchar(20) COLLATE Latin1_General_CI_AS | |
| PaymentStatus | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DeviceFamilyType | smallint | |
| UseParams | smallint | |
| isJSON | smallint | |
| Indexes | ||
| PK__DATA_Pay__B113934E3F19DF96 | Primary Key ON PaymentHotelId | |
| Foreign Key | ||
| FK_DATA_PaymentHotel_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentHotel_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_DATA_PaymentHotel_PaymentId | PaymentId ↗ ❏ DATA_Payment | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentPlanId | int IDENTITY |
| PaymentMethodId | int | |
| PaymentNumber | smallint | |
| * | ScheduledDate | datetime |
| * | NextAttemptDate | datetime |
| PaymentDate | datetime | |
| * | AttemptCount | int |
| * | Amount | float |
| * | FlexPaymentStatus | smallint |
| * | PaymentId | int |
| * | PaymentActivityType | smallint |
| * | PriorityOrder | smallint |
| * | AppliedAmount | float |
| FeeAmount | float | |
| RefundableFeeAmount | float | |
| PaymentPlanAK | nvarchar(32) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Pay__54BE648A802AFECA | Primary Key ON PaymentPlanId | |
| Foreign Key | ||
| FK__DATA_Paym__Payme__09003183 | PaymentId ↗ ❏ DATA_Payment | |
| FK__DATA_Paym__Payme__09F455BC | PaymentMethodId ↗ ❏ CNF_PaymentMethod | |
| FK_DATA_PaymentPlan_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentPlan_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Paym__Payme__0AE879F5 | PaymentPlanId ↙ ❏ DATA_PaymentPlan2Transaction | |
| FK__DATA_Paym__Payme__0CD0C267 | PaymentPlanId ↙ ❏ DATA_PaymentPlanLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentPlan2TransactionId | int IDENTITY |
| * | PaymentPlanId | int |
| * | TransactionId | int |
| Ovw6Site | int | |
| Ovw6Station | int | |
| Ovw6Transaction | int | |
| Ovw6User | int | |
| Ovw6TransDate | int | |
| FlexPaymentStatus | smallint | |
| AppliedAmount | float | |
| PaymentAccountRecap | nvarchar(30) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Pay__5EEC87F73EB1570B | Primary Key ON PaymentPlan2TransactionId | |
| Foreign Key | ||
| FK__DATA_Paym__Payme__0AE879F5 | PaymentPlanId ↗ ❏ DATA_PaymentPlan | |
| FK__DATA_Paym__Trans__0BDC9E2E | TransactionId ↗ ❏ DATA_Transaction | |
| FK_DATA_PaymentPlan2Transaction_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_PaymentPlan2Transaction_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PaymentPlanLogId | int IDENTITY |
| * | PaymentPlanId | int |
| * | LogDateTime | datetime |
| Message | ntext COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Pay__B27F0D8C49B2C7D4 | Primary Key ON PaymentPlanLogId | |
| Foreign Key | ||
| FK__DATA_Paym__Payme__0CD0C267 | PaymentPlanId ↗ ❏ DATA_PaymentPlan | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductId | int IDENTITY |
| * | WorkstationId | int |
| AccountId | int | |
| TicketId | int | |
| FSaleDate | datetime | |
| * | SiteId | int |
| * | VoidType | smallint |
| SaleDateTime | datetime | |
| * | CurrencyId | int |
| * | Price | float |
| RawPrice | float | |
| * | Taxes | float |
| ActiveFrom | datetime | |
| ActiveTo | datetime | |
| TaxExempt | smallint | |
| * | MatrixCellId | int |
| DmgCategoryId | int | |
| SaleItemId | int | |
| * | ProductTaxType | smallint |
| TaxPackageId | int | |
| * | CreationType | smallint |
| * | PeopleCount | int |
| ExternalReferenceId | varchar(400) COLLATE Latin1_General_CI_AS | |
| LastVoidType | smallint | |
| * | ProductType | smallint |
| Indexes | ||
| PK__DATA_Pro__B40CC6CDB6A3C344 | Primary Key ON ProductId | |
| IDX_DATA_Product_AccountId | Index ON AccountId | |
| IDX_DATA_Product_MatrixCellId | Index ON MatrixCellId | |
| IDX_DATA_Product_TicketId | Index ON TicketId | |
| IDX_DATA_Product_SaleItemId | Index ON SaleItemId | |
| IDX_DATA_Product_WorkstationId | Index ON WorkstationId | |
| Foreign Key | ||
| FK_DATA_Product_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_Product_CurrencyId | CurrencyId ↗ ❏ CNF_Currency | |
| FK_DATA_Product_DmgCategoryId | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_DATA_Product_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_DATA_Product_SaleItemId | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_Product_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_DATA_Product_TaxPackageId | TaxPackageId ↗ ❏ CNF_TaxPackage | |
| FK_DATA_Product_TicketId | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_Product_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Referring Foreign Key | ||
| FK_DATA_SaleItem2Product_ProductId | ProductId ↙ ❏ DATA_SaleItem2Product | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Promotion2AccountId | int IDENTITY |
| * | PromotionId | int |
| * | AccountId | int |
| * | Used | smallint |
| * | PromotionType | smallint |
| * | SaleId | int |
| Last_DateTime_Log | datetime | |
| PerformanceId | int | |
| * | VisitPerfDate | smallint DEFAULT 0 |
| Indexes | ||
| PK__DATA_Pro__6341F6D244CF23CF | Primary Key ON Promotion2AccountId | |
| Foreign Key | ||
| FK_DATA_Promotion2Account_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_Promotion2Account_PromotionId | PromotionId ↗ ❏ CNF_Promotion | |
| FK_DATA_Promotion2Account_SaleId | SaleId ↗ ❏ DATA_Sale | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | RenewalPlanId | int IDENTITY |
| * | RenewalPlanAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | RenewalContractId | int |
| * | AccountId | int |
| * | NumberMandatoryRenewal | int |
| MandatoryRenewalOnly | smallint | |
| * | Status | smallint |
| ContractStartingDate | datetime | |
| ContractFilename | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | TryBeforeDays | smallint DEFAULT 0 |
| * | MaxAttemptCount | smallint DEFAULT 0 |
| * | TryAfterDays | smallint DEFAULT 0 |
| Indexes | ||
| PK__DATA_Ren__559F1BE8FDBFF55D | Primary Key ON RenewalPlanId | |
| UQ__DATA_Ren__559CE4CAF9EA1143 | Unique Key ON RenewalPlanAK | |
| Foreign Key | ||
| FK_DATA_RenewalPlan_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_RenewalPlan_RenewalContractId | RenewalContractId ↗ ❏ CNF_RenewalContract | |
| FK_DATA_RenewalPlan_UserId | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_RenewalPlan_WorkstationId | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DATA_RenewalPlanDetails_RenewalPlanId | RenewalPlanId ↙ ❏ DATA_RenewalPlanDetails | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | RenewalPlanDetailsId | int IDENTITY |
| * | RenewalPlanId | int |
| * | RenewalNumber | smallint |
| RenewalTransactionId | int | |
| OriginalTicketId | int | |
| * | OriginalMatrixCellId | int |
| RenewalTicketId | int | |
| * | RenewalMatrixCellId | int |
| RenewalScheduledDate | datetime | |
| * | MandatoryRenewal | smallint |
| * | Status | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | AttemptCount | smallint DEFAULT 0 |
| LastAttemptDate | datetime | |
| Indexes | ||
| PK__DATA_Ren__0D0F7C8645C850B5 | Primary Key ON RenewalPlanDetailsId | |
| Foreign Key | ||
| FK_DATA_RenewalPlanDetails_OriginalMatrixCellId | OriginalMatrixCellId ↗ ❏ CNF_MatrixCell(MatrixCellId) | |
| FK_DATA_RenewalPlanDetails_OriginalTicketId | OriginalTicketId ↗ ❏ DATA_Ticket(TicketId) | |
| FK_DATA_RenewalPlanDetails_RenewalMatrixCellId | RenewalMatrixCellId ↗ ❏ CNF_MatrixCell(MatrixCellId) | |
| FK_DATA_RenewalPlanDetails_RenewalPlanId | RenewalPlanId ↗ ❏ DATA_RenewalPlan | |
| FK_DATA_RenewalPlanDetails_RenewalTicketId | RenewalTicketId ↗ ❏ DATA_Ticket(TicketId) | |
| FK_DATA_RenewalPlanDetails_TransactionId | RenewalTransactionId ↗ ❏ DATA_Transaction(TransactionId) | |
| FK_DATA_RenewalPlanDetails_UserId | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_RenewalPlanDetails_WorkstationId | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleId | int |
| * | ReservationAK | varchar(32) COLLATE Latin1_General_CI_AS |
| ExternalResCode | varchar(40) COLLATE Latin1_General_CI_AS | |
| PickUpDate | datetime | |
| PickUpArea | int | |
| PickUpType | smallint | |
| BatchId | int | |
| * | AccountId | int |
| BillingAccountId | int | |
| OperatingAreaId | int | |
| B2BAccountId | int | |
| batchcode | varchar(30) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Hotel_CheckIn | datetime | |
| Hotel_CheckOut | datetime | |
| ApprovalStatus | smallint | |
| Indexes | ||
| PK__DATA_Res__1EE3C3FFD2FAC296 | Primary Key ON SaleId | |
| IDX_DATA_Reservation_AccountId | Index ON AccountId | |
| IDX_DATA_Reservation_BillingAccountId | Index ON BillingAccountId | |
| IDX_DATA_Reservation_ExternalResCode | Index ON ExternalResCode | |
| IDX_DATA_Reservation_ReservationAK | Index ON ReservationAK | |
| Foreign Key | ||
| FK__DATA_Rese__Accou__0DC4E6A0 | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Rese__B2BAc__0EB90AD9 | B2BAccountId ↗ ❏ DATA_Account(AccountId) | |
| FK__DATA_Rese__Batch__0FAD2F12 | BatchId ↗ ❏ DATA_Batch | |
| FK__DATA_Rese__Billi__10A1534B | BillingAccountId ↗ ❏ DATA_Account(AccountId) | |
| FK__DATA_Rese__Opera__11957784 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__DATA_Rese__SaleI__12899BBD | SaleId ↗ ❏ DATA_Sale | |
| FK_DATA_Reservation_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Reservation_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_DATA_Batch2Reservation_SaleId | SaleId ↙ ❏ DATA_Batch2Reservation(SaleID) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DataRightId | int IDENTITY |
| * | RightId | int |
| SourceType | smallint | |
| DestType | smallint | |
| StrValue | nvarchar(500) COLLATE Latin1_General_CI_AS | |
| * | SourceId | int |
| * | DestId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Rig__99EC238804FFC299 | Primary Key ON DataRightId | |
| IDX_DATA_Right | Unique Index ON RightId, SourceType, SourceId, DestType, DestId | |
| Idx_Right_SourceTyte_SourceId | Index ON SourceType, SourceId | |
| Idx_Right_Full | Index ON SourceType, SourceId | |
| Idx_Right_DestType_DestId | Index ON DestType, DestId | |
| Foreign Key | ||
| FK__DATA_Righ__Right__137DBFF6 | RightId ↗ ❏ CNF_Right | |
| FK_DATA_Right_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Right_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleId | int IDENTITY |
| * | SystemId | int |
| * | CurrencyId | int |
| ParentId | int | |
| * | WorkstationId | int |
| * | UserId | int |
| * | SaleType | smallint |
| * | SaleAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | SaleDate | datetime |
| * | FSaleDate | datetime |
| * | StatusCode | smallint |
| * | Serial | int |
| Paid | smallint | |
| Approved | smallint | |
| Validated | smallint | |
| Encoded | smallint | |
| Completed | smallint | |
| * | Quantity | smallint |
| * | TicketCount | smallint |
| * | TotalAmount | float |
| * | TotalTaxes | float |
| * | Revenue | float |
| * | TaxRevenue | float |
| PerformanceId | int | |
| * | PerformanceCount | smallint |
| GiftAid | smallint DEFAULT 0 | |
| RefAccountId | int | |
| * | Operation | smallint DEFAULT 1 |
| OwnerAccountId | int | |
| Externalorderid | varchar(255) COLLATE Latin1_General_CI_AS | |
| LanguageId | int | |
| * | TaxExempt | smallint DEFAULT 0 |
| PaidTransactionId | int | |
| EncodedTransactionId | int | |
| ValidatedTransactionId | int | |
| CompletedTransactionId | int | |
| VoidTransactionId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| SalesElapsedTime | time(0) | |
| Indexes | ||
| PK__DATA_Sal__1EE3C3FF345ACD56 | Primary Key ON SaleId | |
| UQ__DATA_Sal__1EE10B19831B3B81 | Unique Key ON SaleAK | |
| IDX_DATA_SaleDate | Index ON SaleDate | |
| Status | Index ON Paid, Approved, Validated, Encoded, Completed | |
| Idx_DataSale_FSaleDate | Index ON FSaleDate | |
| IDX_Data_Sale_PaidTransactionID | Index ON PaidTransactionId | |
| IDX_Data_Sale_PaidTransactionID_VoidTransactionID | Index ON Paid | |
| IDX_DATA_Sale_SaleID_StatusCode | Index ON SaleId | |
| IDX_DATA_Sale_Paid | Index ON Paid | |
| IDX_DATA_Sale_StatusCode_SaleAK | Index ON StatusCode, SaleAK | |
| Idx_DATA_Sale_PerformanceId | Index ON PerformanceId | |
| Idx_Sale_UserId | Index ON UserId | |
| Idx_Sale_RefAccId | Index ON RefAccountId | |
| Foreign Key | ||
| FK__DATA_Sale__Curre__1471E42F | CurrencyId ↗ ❏ CNF_Currency | |
| FK__DATA_Sale__Owner__15660868 | OwnerAccountId ↗ ❏ DATA_Account(AccountId) | |
| FK__DATA_Sale__Paren__165A2CA1 | ParentId ↗ ❏ DATA_Sale(SaleId) | |
| FK__DATA_Sale__Perfo__174E50DA | PerformanceId ↗ ❏ CNF_Performance | |
| FK__DATA_Sale__Syste__18427513 | SystemId ↗ ❏ CNF_System | |
| FK__DATA_Sale__UserI__1936994C | UserId ↗ ❏ CNF_User | |
| FK__DATA_Sale__Works__1A2ABD85 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_DATA_Sale_LanguageId | LanguageId ↗ ❏ CNF_Language | |
| FK_DATA_Sale_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Sale_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_RR_DATA_Revenue_DATA_Sale_SaleId | SaleId ↙ ❏ RR_DATA_Revenue | |
| FK_DATA_Promotion2Account_SaleId | SaleId ↙ ❏ DATA_Promotion2Account | |
| FK__DATA_Rese__SaleI__12899BBD | SaleId ↙ ❏ DATA_Reservation | |
| FK__DATA_Sale__Paren__165A2CA1 | SaleId ↙ ❏ DATA_Sale(ParentId) | |
| FK_DATA_SaleCoupon_Sale | SaleId ↙ ❏ DATA_SaleCoupon | |
| FK__DATA_Sale__SaleI__22C00386 | SaleId ↙ ❏ DATA_SaleItem | |
| FK_DATA_SaleItem_BaseSaleId | SaleId ↙ ❏ DATA_SaleItem(BaseSaleId) | |
| FK_DATA_Sale_SaleTax | SaleId ↙ ❏ DATA_SaleTax | |
| FK__DATA_Tran__SaleI__6581EB1C | SaleId ↙ ❏ DATA_Transaction | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleCouponId | int IDENTITY |
| * | SaleId | int |
| * | PromotionId | int |
| * | Qty | int DEFAULT 1 |
| CouponId | int | |
| SaleItemId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| CouponGuid | varchar(38) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Sal__5CB90B22815BBB6F | Primary Key ON SaleCouponId | |
| DATA_SaleCoupon_PromotionId_CouponId | Index ON PromotionId, CouponId | |
| IDX_DATA_SaleCoupon_SaleId | Index ON SaleId | |
| idxDATA_SaleCoupon_PromotionId_SaleId | Index ON PromotionId, SaleId | |
| Idx_SaleCoupon_SaleItemId | Index ON SaleItemId | |
| Idx_SaleCoupon_Id | Index ON CouponId | |
| Idx_SaleCoupon_CouponId_SaleItemId | Index ON CouponId, SaleItemId | |
| Foreign Key | ||
| FK__DATA_Sale__Coupo__1C1305F7 | CouponId ↗ ❏ DATA_Coupon | |
| FK_DATA_SaleCoupon_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleCoupon_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_SaleCoupon_Promotion | PromotionId ↗ ❏ CNF_Promotion | |
| FK_DATA_SaleCoupon_Sale | SaleId ↗ ❏ DATA_Sale | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItemId | int IDENTITY |
| * | SaleId | int |
| * | ProductType | smallint |
| Position | int | |
| * | Quantity | smallint |
| * | UnitRawPrice | float |
| * | ProductTaxType | smallint |
| * | UnitPrice | float |
| * | TotalAmount | float |
| * | UnitTaxes | float |
| * | TotalTaxes | float |
| GroupingCode | smallint | |
| * | MatrixCellId | int |
| VoucherId | int | |
| * | UnitRecharge | float |
| MediaId | int | |
| * | PrintOption | smallint |
| TicketId | int | |
| ItemTicketId | int | |
| GiftAid | smallint DEFAULT 0 | |
| ActiveFrom | datetime | |
| ActiveTo | datetime | |
| * | PeopleCount | int |
| PromotionItemRuleId | int | |
| ProductSaleItemId | int | |
| RefundedQuantity | smallint | |
| ComboRef | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| PersonOnEachMediaIdentifier | smallint | |
| AttachedMediaId | int | |
| OrigMatrixCellId | int | |
| OrigUnitSellPrice | float | |
| SubscriptionId | int | |
| PriceType | int DEFAULT 0 | |
| OrigSaleItemId | int | |
| BaseSaleId | int | |
| GeneratedByTheSystem | smallint | |
| UpSellMatrixCellId | smallint | |
| CardDependencyType | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ShareableEntitlements | smallint | |
| ItemTransactionType | smallint | |
| ItemGuid | varchar(38) COLLATE Latin1_General_CI_AS | |
| ExternalReferenceId | nvarchar(400) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Sal__C60594012EB7C464 | Primary Key ON SaleItemId | |
| IDX_SaleItem_SaleId | Index ON SaleId | |
| IDX_SaleItem_SaleId_Position | Index ON SaleId, Position | |
| idxDATA_SaleItem_ComboRef | Index ON ComboRef | |
| IDX_SaleItem_MatrixCellID | Index ON MatrixCellId | |
| IDX_DATA_Saleitem_BaseSaleID | Index ON BaseSaleId | |
| Idx_DATA_SaleItem_TicketId | Index ON TicketId | |
| IDX_DATA_SaleItem_ItemTicketId | Index ON ItemTicketId | |
| IDX_DATA_SaleItem_TicketId_Includes | Index ON TicketId | |
| Foreign Key | ||
| DATA_SaleItem_DATA_SaleITemProductRefunded | ProductSaleItemId ↗ ❏ DATA_SaleItem(SaleItemId) | |
| FK__DATA_Sale__ItemT__1FE396DB | ItemTicketId ↗ ❏ DATA_Ticket(TicketId) | |
| FK__DATA_Sale__Matri__20D7BB14 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__DATA_Sale__Media__21CBDF4D | MediaId ↗ ❏ DATA_Media | |
| FK__DATA_Sale__SaleI__22C00386 | SaleId ↗ ❏ DATA_Sale | |
| FK__DATA_Sale__Ticke__23B427BF | TicketId ↗ ❏ DATA_Ticket | |
| FK__DATA_Sale__Vouch__24A84BF8 | VoucherId ↗ ❏ DATA_Voucher | |
| FK_DATA_SaleItem_BaseSaleId | BaseSaleId ↗ ❏ DATA_Sale(SaleId) | |
| FK_DATA_SaleItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_DATA_SaleItem_OrigMatrixCellId | OrigMatrixCellId ↗ ❏ CNF_MatrixCell(MatrixCellId) | |
| FK_DATA_SaleItem_OrigSaleItemId | OrigSaleItemId ↗ ❏ DATA_SaleItem(SaleItemId) | |
| FK_DATA_SaleItem_PromotionItemRule | PromotionItemRuleId ↗ ❏ CNF_PromotionItemRule | |
| fkData_SaleItem_Data_Media_AttachedMediaID | MediaId ↗ ❏ DATA_Media | |
| Referring Foreign Key | ||
| FK__DATA_Tran__SaleI__6E17311D | SaleItemId ↙ ❏ DATA_TransactionItem | |
| FK__CNF_Seat__SaleIt__7251D655 | SaleItemId ↙ ❏ CNF_Seat | |
| FK_DATA_Product_SaleItemId | SaleItemId ↙ ❏ DATA_Product | |
| FK_DATA_SaleItem2Product_SaleItemId | SaleItemId ↙ ❏ DATA_SaleItem2Product | |
| FK_RR_DATA_Revenue_DATA_SaleItem_SaleItemId | SaleItemId ↙ ❏ RR_DATA_Revenue | |
| FK_IncentiveTicketUsage_SaleItem | SaleItemId ↙ ❏ DATA_IncentiveTicketUsage | |
| FK__DATA_Exte__SaleI__2B2B2C55 | SaleItemId ↙ ❏ DATA_ExtendedInfo2SaleItem | |
| FK_DATA_SaleItem_SaleItemId | SaleItemId ↙ ❏ DATA_PaymentFlex2SaleItem | |
| FK_DATA_SaleItemRedeem_SaleItemId | SaleItemId ↙ ❏ DATA_SaleItemRedeem | |
| FK_DATA_SaleItem2CostCenter_SaleItemId | SaleItemId ↙ ❏ DATA_SaleItem2CostCenter | |
| DATA_SaleItem_DATA_SaleITemProductRefunded | SaleItemId ↙ ❏ DATA_SaleItem(ProductSaleItemId) | |
| FK_DATA_SaleItem_OrigSaleItemId | SaleItemId ↙ ❏ DATA_SaleItem(OrigSaleItemId) | |
| DATA_SaleItemCombo_SaleItem | SaleItemId ↙ ❏ DATA_SaleItem_Combo | |
| FK__DATA_Sale__SaleI__2D3D91F9 | SaleItemId ↙ ❏ DATA_SaleItem2Account | |
| FK__DATA_Sale__SaleI__2F25DA6B | SaleItemId ↙ ❏ DATA_SaleItem2Dmg | |
| FK__DATA_Sale__SaleI__32024716 | SaleItemId ↙ ❏ DATA_SaleItem2Performance | |
| FK__DATA_Sale__SaleI__32F66B4F | SaleItemId ↙ ❏ DATA_SaleItem2Ticket | |
| FK_DATA_SaleIteRule_SaleItem | SaleItemId ↙ ❏ DATA_SaleItemRule | |
| fkSaleItem_SalePromotionRule | SaleItemId ↙ ❏ DATA_SalePromotionRule | |
| FK__DATA_Sale__SaleI__708BEB79 | SaleItemId ↙ ❏ DATA_SaleItem2Gift | |
| FK__DATA_Tick__SaleI__5086CE36 | SaleItemId ↙ ❏ DATA_Ticket | |
| FK_DATA_SaleItemTax_SaleItem | SaleItemId ↙ ❏ DATA_SaleItemTax | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItem2AccountId | int IDENTITY |
| SaleItemId | int | |
| * | AccountId | int |
| Used | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ExternalReferenceId | varchar(400) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Sal__0011AAE7894C7983 | Primary Key ON SaleItem2AccountId | |
| idxDATA_SaleItem2Account_SaleItemId | Index ON SaleItemId | |
| idxSaleItem2Account_AccountId | Index ON AccountId | |
| Foreign Key | ||
| FK__DATA_Sale__Accou__2C496DC0 | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Sale__SaleI__2D3D91F9 | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_SaleItem2Account_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItem2Account_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItem2CostCenterId | int IDENTITY |
| * | CostCenterId | int |
| * | SaleItemId | int |
| * | Amount | float |
| * | CalcType | smallint |
| * | CalcValue | float |
| * | CostCenterType | smallint |
| * | CostCenterAK | varchar(32) COLLATE Latin1_General_CI_AS DEFAULT '' |
| * | CostCenterCode | varchar(10) COLLATE Latin1_General_CI_AS DEFAULT '' |
| CostCenterDescription | nvarchar(100) COLLATE Latin1_General_CI_AS DEFAULT '' | |
| Quantity | int DEFAULT 0 | |
| * | UnitAmount | float DEFAULT 0 |
| TransactionId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Sal__2755852A44D7A50D | Primary Key ON SaleItem2CostCenterId | |
| IX_DATA_SaleItem2CostCenter_SaleItemId | Index ON SaleItemId | |
| Idx_SaleItem2Cost_CC_SI_TR | Index ON CostCenterId, SaleItemId, TransactionId | |
| Idx_SaleItem2Cost_CC_SL | Index ON CostCenterId, SaleItemId | |
| Idx_SaleItem2Cost_TR | Index ON TransactionId | |
| Foreign Key | ||
| FK_DATA_SaleItem2CostCenter_CostCenterId | CostCenterId ↗ ❏ CNF_CostCenter | |
| FK_DATA_SaleItem2CostCenter_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItem2CostCenter_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_SaleItem2CostCenter_SaleItemId | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_SaleItem2CostCenter_TransactionId | TransactionId ↗ ❏ DATA_Transaction | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItem2DmgId | int IDENTITY |
| SaleItemId | int | |
| * | InsDateTime | datetime |
| * | DmgCategoryId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Sal__679E27B93D2EE5AB | Primary Key ON SaleItem2DmgId | |
| Foreign Key | ||
| FK__DATA_Sale__DmgCa__2E31B632 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__DATA_Sale__SaleI__2F25DA6B | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_SaleItem2Dmg_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItem2Dmg_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItem2GiftId | int IDENTITY |
| * | CharityId | int |
| * | SaleItemId | int |
| AccountId | int | |
| * | Amount | float |
| * | Status | smallint |
| * | InsertDateTime | datetime |
| AccountGiftAidId | int | |
| Indexes | ||
| PK__DATA_Sal__39D246887CDD52FB | Primary Key ON SaleItem2GiftId | |
| Foreign Key | ||
| FK__DATA_Sale__Accou__71800FB2 | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Sale__Chari__6F97C740 | CharityId ↗ ❏ CNF_Charity | |
| FK__DATA_Sale__SaleI__708BEB79 | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_SaleItem2Gift_DATA_AccountGiftAid | AccountGiftAidId ↗ ❏ DATA_AccountGiftAid | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItem2PerformanceId | int IDENTITY |
| * | SaleItemId | int |
| PerformanceId | int | |
| EnvelopeCapacityId | int | |
| * | Active | smallint DEFAULT 1 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| MovedOnUpgrade | smallint | |
| * | AdditionalInfo | int DEFAULT 0 |
| Indexes | ||
| PK__DATA_Sal__B4162A009E23777A | Primary Key ON SaleItem2PerformanceId | |
| idxDATA_SaleItem2Performance_SaleItemId | Index ON SaleItemId | |
| idxSaleItem2Performance_PerformanceId | Index ON PerformanceId | |
| Idx_SaleItem2Perf_EnvCapId | Index ON EnvelopeCapacityId | |
| Foreign Key | ||
| FK__DATA_Sale__Envel__3019FEA4 | EnvelopeCapacityId ↗ ❏ CNF_EnvelopeCapacity | |
| FK__DATA_Sale__Perfo__310E22DD | PerformanceId ↗ ❏ CNF_Performance | |
| FK__DATA_Sale__SaleI__32024716 | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_SaleItem2Performance_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItem2Performance_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItem2ProductId | int IDENTITY |
| * | ProductId | int |
| * | SaleItemId | int |
| * | OperationType | smallint |
| Indexes | ||
| PK__DATA_Sal__F5DE3877D73F1B64 | Primary Key ON SaleItem2ProductId | |
| idxDATA_SaleItem2Product_SaleItemId | Index ON SaleItemId | |
| idxDATA_SaleItem2Product_ProductId | Index ON ProductId | |
| Foreign Key | ||
| FK_DATA_SaleItem2Product_ProductId | ProductId ↗ ❏ DATA_Product | |
| FK_DATA_SaleItem2Product_SaleItemId | SaleItemId ↗ ❏ DATA_SaleItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItem2TicketId | int IDENTITY |
| * | TicketId | int |
| * | SaleItemId | int |
| * | OperationType | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Sal__943D75A7F33563A7 | Primary Key ON SaleItem2TicketId | |
| idxDATA_SaleItem2Ticket_SaleItemId | Index ON SaleItemId | |
| idxSaleItem2Ticket_TicketId | Index ON TicketId | |
| Idx_DATA_SI2T_TicketId_SaleItemId | Index ON TicketId, SaleItemId | |
| IDXDATA_SaleItem2Ticket_OperationType | Index ON OperationType | |
| Foreign Key | ||
| FK__DATA_Sale__SaleI__32F66B4F | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK__DATA_Sale__Ticke__33EA8F88 | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_SaleItem2Ticket_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItem2Ticket_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItemRedeemId | int IDENTITY |
| * | SaleItemId | int |
| * | FromMediaId | int |
| * | FromTicketId | int |
| * | AttributesGUID | nvarchar(38) COLLATE Latin1_General_CI_AS |
| * | Redeemed | smallint DEFAULT 1 |
| EntitlementType | smallint | |
| Indexes | ||
| PK__DATA_Sal__C495DEC64CE299F9 | Primary Key ON SaleItemRedeemId | |
| Idx_DATA_SaleItemRedeem_SaleItemId | Index ON SaleItemId | |
| Foreign Key | ||
| FK_DATA_SaleItemRedeem_MediaId | FromMediaId ↗ ❏ DATA_Media(MediaId) | |
| FK_DATA_SaleItemRedeem_SaleItemId | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_SaleItemRedeem_TicketId | FromTicketId ↗ ❏ DATA_Ticket(TicketId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItemRuleId | int IDENTITY |
| PromotionItemRuleId | int | |
| * | SaleItemId | int |
| * | FeeorDiscount | int |
| Perc | float | |
| Forfait | money | |
| Price | money | |
| * | GeneratedByTheSystem | bit |
| ApplyToQty | int | |
| DiscountAmount | money | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Code | nvarchar(40) COLLATE Latin1_General_CI_AS | |
| PromotionType | smallint | |
| HideItemPrice | smallint | |
| PckVoidRefundType | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| OptionalItemsRequired | smallint | |
| Indexes | ||
| PK__DATA_Sal__A596D43934A15277 | Primary Key ON SaleItemRuleId | |
| Idx_DATA_SaleItemRule_SaleItem | Index ON SaleItemRuleId, PromotionItemRuleId, SaleItemId | |
| Idx_DATA_SaleItemRule_DATA_SaleItemId | Index ON SaleItemId | |
| Foreign Key | ||
| FK_DATA_SaleItemRule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItemRule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_SaleIteRule_PromotionItemRule | PromotionItemRuleId ↗ ❏ CNF_PromotionItemRule | |
| FK_DATA_SaleIteRule_SaleItem | SaleItemId ↗ ❏ DATA_SaleItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItemTaxId | int IDENTITY |
| * | SaleItemId | int |
| * | TaxId | int |
| * | TaxCode | nvarchar(10) COLLATE Latin1_General_CI_AS |
| TaxValue | money | |
| TaxAmount | money | |
| Net | money | |
| Gross | money | |
| * | TaxExempt | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| TaxPercentage | float | |
| ProductPercentage | money | |
| Indexes | ||
| PK__DATA_Sal__5672556EDCA576BF | Primary Key ON SaleItemTaxId | |
| Idx_SaleItemTax | Index ON SaleItemId, TaxId | |
| Idx_Data_SaleItemTax_SaleItemId | Index ON SaleItemId | |
| Foreign Key | ||
| FK_DATA_SaleItemTax_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItemTax_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_SaleItemTax_SaleItem | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_SaleItemTax_Tax | TaxId ↗ ❏ CNF_Tax | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleItemComboId | int IDENTITY |
| * | ComboId | int |
| ComboChoiceId | int | |
| * | SaleItemId | int |
| MatrixCellId | int | |
| Price | money | |
| Qty | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Sal__26613E1443AFCD29 | Primary Key ON SaleItemComboId | |
| Foreign Key | ||
| DATA_SaleItemCombo_MatrixCell | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| DATA_SaleItemCombo_ProductCombo | ComboId ↗ ❏ STOCK_CNF_ProductCombo | |
| DATA_SaleItemCombo_ProductComboChoice | ComboChoiceId ↗ ❏ STOCK_CNF_ProductComboChoice | |
| DATA_SaleItemCombo_SaleItem | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_DATA_SaleItem_Combo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleItem_Combo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SalePromotionRuleID | int IDENTITY |
| * | PromotionItemId | int |
| * | PromotionItemRuleId | int |
| * | SaleItemId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Sal__F9EACB0016363B56 | Primary Key ON SalePromotionRuleID | |
| Idx_Data_SalePromotionRule_SaleItemId | Index ON SaleItemId | |
| Foreign Key | ||
| FK_DATA_SalePromotionRule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SalePromotionRule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkCNF_PromotionItem_SalePromotionRule | PromotionItemId ↗ ❏ CNF_PromotionItem | |
| fkCNF_PromotionItemRule_SalePromotionRule | PromotionItemRuleId ↗ ❏ CNF_PromotionItemRule | |
| fkSaleItem_SalePromotionRule | SaleItemId ↗ ❏ DATA_SaleItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SaleTaxId | int IDENTITY |
| * | SaleId | int |
| * | TaxId | int |
| TaxAmount | money | |
| Net | money | |
| Gross | money | |
| * | TaxExempt | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Sal__4D6862B1C08D9194 | Primary Key ON SaleTaxId | |
| idxSaleTax | Index ON SaleId, TaxId | |
| Foreign Key | ||
| FK_CNF_TAX_SALE | TaxId ↗ ❏ CNF_Tax | |
| FK_DATA_Sale_SaleTax | SaleId ↗ ❏ DATA_Sale | |
| FK_DATA_SaleTax_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_SaleTax_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SchedulerLogId | int IDENTITY |
| * | LogType | smallint |
| * | WorkstationId | int |
| DriverId | int | |
| * | DateTimeBegin | datetime |
| DateTimeEnd | datetime | |
| * | LogState | smallint |
| LogMessage | ntext COLLATE Latin1_General_CI_AS | |
| * | SucceededCount | int |
| * | FailedCount | int |
| * | WarningCount | int |
| SchedulerId | int | |
| Indexes | ||
| PK__DATA_Sch__CED2BEE43B386DCD | Primary Key ON SchedulerLogId | |
| Foreign Key | ||
| FK__DATA_Sche__Drive__3B8BB150 | DriverId ↗ ❏ CNF_Driver | |
| FK__DATA_Sche__Works__3C7FD589 | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SchedulerProcessId | int IDENTITY |
| * | JsonData | varchar(max) COLLATE Latin1_General_CI_AS |
| * | Code | varchar(50) COLLATE Latin1_General_CI_AS |
| JobState | int | |
| SchedulerId | int | |
| WorkstationId | int | |
| DriverId | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Sch__097E81F3575074DE | Primary Key ON SchedulerProcessId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SecurityChangeLogId | int IDENTITY |
| * | WorkstationId | int |
| * | UserId | int |
| * | EventType | smallint |
| * | ChangeResult | smallint |
| * | TimeStamp | datetime |
| * | IPAddress | nvarchar(20) COLLATE Latin1_General_CI_AS |
| * | LogMessage | nvarchar(400) COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__DATA_Sec__6AF6DF82DA4BB3CE | Primary Key ON SecurityChangeLogId | |
| Foreign Key | ||
| FK__DATA_Secu__UserI__02DD43D9 | UserId ↗ ❏ CNF_User | |
| FK__DATA_Secu__Works__03D16812 | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SessionId | varchar(38) COLLATE Latin1_General_CI_AS |
| * | SystemId | int |
| * | SiteId | int |
| * | UserId | int |
| * | WorkstationId | int |
| * | LoginDate | datetime |
| IpAddress | varchar(15) COLLATE Latin1_General_CI_AS | |
| MacAddress | varchar(17) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Ses__C9F492900E23A95E | Primary Key ON SessionId | |
| Foreign Key | ||
| FK__DATA_Sess__SiteI__41448AA6 | SiteId ↗ ❏ CNF_Site | |
| FK__DATA_Sess__Syste__4238AEDF | SystemId ↗ ❏ CNF_System | |
| FK__DATA_Sess__UserI__432CD318 | UserId ↗ ❏ CNF_User | |
| FK__DATA_Sess__Works__4420F751 | WorkstationId ↗ ❏ CNF_Workstation | |
| Referring Foreign Key | ||
| FK__DATA_Lock__Sessi__6D58170E | SessionId ↙ ❏ DATA_Lock | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartItemId | int IDENTITY |
| * | WorkstationId | int |
| * | UserId | int |
| * | OperationDateTime | datetime |
| * | ItemGuid | varchar(38) COLLATE Latin1_General_CI_AS |
| * | EnvelopeCapacityId | int |
| * | Quantity | int |
| Indexes | ||
| PK__DATA_Sho__87273276BE404E3D | Primary Key ON ShopCartItemId | |
| idxDataShopCartItemSearchCapacityEnvelop | Index ON EnvelopeCapacityId, ItemGuid | |
| idxEmptyDataShopCartItem | Index ON WorkstationId, UserId | |
| Foreign Key | ||
| FK__DATA_Shop__Envel__45151B8A | EnvelopeCapacityId ↗ ❏ CNF_EnvelopeCapacity | |
| FK__DATA_Shop__UserI__46093FC3 | UserId ↗ ❏ CNF_User | |
| FK__DATA_Shop__Works__46FD63FC | WorkstationId ↗ ❏ CNF_Workstation | |
| Referring Foreign Key | ||
| FK__DATA_Shop__ShopC__48E5AC6E | ShopCartItemId ↙ ❏ DATA_ShopCartItemSeat | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartItemLimitID | int IDENTITY |
| ShopCartGuid | varchar(38) COLLATE Latin1_General_CI_AS | |
| B2B_Owner | int | |
| Billing_Owner | int | |
| Reservation_Owner | int | |
| Ticket_Owner | int | |
| MatrixCellId | int | |
| Quantity | int | |
| PerformanceID | int | |
| EventID | int | |
| SaleID | int | |
| SaleItemID | int | |
| CheckforRestrictionOnly | int | |
| Indexes | ||
| PK__DATA_Sho__925A0EA335205265 | Primary Key ON ShopCartItemLimitID | |
| Idx_DATA_ShopCartItemLimit | Index ON ShopCartGuid | |
| Idx_DATA_ShopCartItemLimit_SaleID | Index ON SaleID | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ShopCartItemSeatId | int IDENTITY |
| * | ShopCartItemId | int |
| * | SeatId | int |
| Indexes | ||
| PK__DATA_Sho__BE7DC800862375D8 | Primary Key ON ShopCartItemSeatId | |
| Foreign Key | ||
| FK__DATA_Shop__SeatI__47F18835 | SeatId ↗ ❏ CNF_Seat | |
| FK__DATA_Shop__ShopC__48E5AC6E | ShopCartItemId ↗ ❏ DATA_ShopCartItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SpaceStructureCounterId | int IDENTITY |
| SpaceStructureQuotaId | int | |
| AccountId | int | |
| SpaceStructureId | int | |
| Counter | int | |
| Indexes | ||
| PK__DATA_Spa__D256AA09A8F68363 | Primary Key ON SpaceStructureCounterId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SpaceStructureQuotaId | int IDENTITY |
| SpaceStructureId | int | |
| PerformanceId | int | |
| DmgCategoryId | int | |
| Quota | int | |
| Counter | int | |
| Indexes | ||
| PK__DATA_Spa__215E196157A093AA | Primary Key ON SpaceStructureQuotaId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SurveyItemId | int IDENTITY |
| * | SurveyId | int |
| * | EntityType | smallint |
| * | EntityId | int |
| * | InsUserId | int |
| * | InsWorkstationId | int |
| * | InsDateTime | datetime |
| Indexes | ||
| PK__DATA_Sur__BC39E37C831BDB1A | Primary Key ON SurveyItemId | |
| IDX_DATA_SurveyItem_EntityType_EntityId | Index ON EntityType, EntityId | |
| Foreign Key | ||
| FK__DATA_Surv__InsUs__49D9D0A7 | InsUserId ↗ ❏ CNF_User(UserId) | |
| FK__DATA_Surv__InsWo__4ACDF4E0 | InsWorkstationId ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK__DATA_Surv__Surve__4BC21919 | SurveyId ↗ ❏ CNF_Survey | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketId | int IDENTITY |
| * | WorkstationId | int |
| AccountId | int | |
| FEncodeDate | datetime | |
| * | SiteId | smallint |
| * | WorkstationCode | smallint |
| * | Serial | int |
| * | TransactionSerial | int |
| * | VoidType | smallint |
| PrintDateTime | datetime | |
| * | CurrencyId | int |
| * | Price | float |
| PrintedPrice | float | |
| * | Taxes | float |
| ActiveFrom | datetime | |
| ActiveTo | datetime | |
| TaxExempt | smallint | |
| MaxDebit | float | |
| Expire | datetime | |
| ValidityXML | ntext COLLATE Latin1_General_CI_AS | |
| * | MatrixCellId | int |
| DmgCategoryId | int | |
| SaleItemId | int | |
| * | RawPrice | float |
| * | ProductTaxType | smallint |
| TaxPackageId | int | |
| * | CreationType | smallint DEFAULT 0 |
| * | PeopleCount | int |
| * | Renewed | smallint DEFAULT 0 |
| ExternalReferenceId | varchar(400) COLLATE Latin1_General_CI_AS | |
| LastVoidType | smallint | |
| Membership | smallint DEFAULT 0 | |
| MoneyCardAmount | float | |
| Weight | int | |
| * | ProductType | smallint DEFAULT 1 |
| * | DeliveryType | smallint |
| * | ReprintCounter | int DEFAULT 0 |
| FirstUsageId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DocStatus | smallint | |
| * | UsedPeopleCount | int DEFAULT 0 |
| MoneyCardPIN | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Tic__712CC6074751D383 | Primary Key ON TicketId | |
| IDX_DATA_Ticket_AccountId | Index ON AccountId | |
| IDX_DATA_Ticket_CreationType | Index ON CreationType | |
| IDX_DATA_Ticket_MatrixCellId | Index ON MatrixCellId | |
| IDX_DATA_Ticket_VoidType | Index ON VoidType | |
| IDX_DATA_Ticket_WorkstationId | Index ON WorkstationId | |
| Idx_DataTicket_FEncodeDate | Index ON FEncodeDate | |
| idxDATA_Ticket_SaleItemID | Index ON SaleItemId | |
| IDX_DATA_Ticket_FEncodeDate_ProductType | Index ON FEncodeDate | |
| IDX_DATA_Ticket_ExternalReferenceId | Index ON ExternalReferenceId | |
| IDX_DATA_Ticket_PrintDateTime | Index ON PrintDateTime | |
| Foreign Key | ||
| FK__DATA_Tick__Accou__4CB63D52 | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Tick__Curre__4DAA618B | CurrencyId ↗ ❏ CNF_Currency | |
| FK__DATA_Tick__DmgCa__4E9E85C4 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK__DATA_Tick__Matri__4F92A9FD | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__DATA_Tick__SaleI__5086CE36 | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK__DATA_Tick__TaxPa__517AF26F | TaxPackageId ↗ ❏ CNF_TaxPackage | |
| FK__DATA_Tick__Works__526F16A8 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_DATA_Ticket_DATA_TicketUsage_FirstUsageId | FirstUsageId ↗ ❏ DATA_TicketUsage(UsageId) | |
| FK_DATA_Ticket_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Ticket_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Tran__Ticke__6C2EE8AB | TicketId ↙ ❏ DATA_Transaction2Ticket | |
| FK_DATA_Ticket2Document_TicketId | TicketId ↙ ❏ DATA_Ticket2Document | |
| FK__CNF_Seat__Ticket__752E4300 | TicketId ↙ ❏ CNF_Seat | |
| FK_DATA_Product_TicketId | TicketId ↙ ❏ DATA_Product | |
| FK_DATA_RenewalPlanDetails_OriginalTicketId | TicketId ↙ ❏ DATA_RenewalPlanDetails(OriginalTicketId) | |
| FK_DATA_RenewalPlanDetails_RenewalTicketId | TicketId ↙ ❏ DATA_RenewalPlanDetails(RenewalTicketId) | |
| FK_RR_DATA_Revenue_DATA_Ticket_TicketId | TicketId ↙ ❏ RR_DATA_Revenue | |
| FK_DATA_Ticket2TicketPackage_TicketId | TicketId ↙ ❏ DATA_Ticket2TicketPackage | |
| FK_DATA_TicketPackage_TicketPackageId | TicketId ↙ ❏ DATA_TicketPackage(TicketPackageId) | |
| FK__DATA_Ledg__Ticke__6A7BAA63 | TicketId ↙ ❏ DATA_Ledger | |
| FK__SIAE_Siae__Ticke__6641052B | TicketId ↙ ❏ SIAE_SiaeLog | |
| FK__DATA_Exte__Ticke__2EFBBD39 | TicketId ↙ ❏ DATA_ExtendedInfo2Ticket | |
| FK__DATA_Medi__Ticke__75ED5D0F | TicketId ↙ ❏ DATA_MediaStoredValue | |
| FK_DATA_TicketHistory_TicketId | TicketId ↙ ❏ DATA_TicketHistory | |
| FK_DATA_SaleItemRedeem_TicketId | TicketId ↙ ❏ DATA_SaleItemRedeem(FromTicketId) | |
| FK_DATA_Ticket2Phone_TicketId | TicketId ↙ ❏ DATA_Ticket2Phone | |
| FK__DATA_Sale__ItemT__1FE396DB | TicketId ↙ ❏ DATA_SaleItem(ItemTicketId) | |
| FK__DATA_Sale__Ticke__23B427BF | TicketId ↙ ❏ DATA_SaleItem | |
| FK__DATA_Sale__Ticke__33EA8F88 | TicketId ↙ ❏ DATA_SaleItem2Ticket | |
| FK_DATA_TicketOptions_TicketId | TicketId ↙ ❏ DATA_TicketOptions | |
| FK__DATA_Tick__Ticke__6FB560CC | TicketId ↙ ❏ DATA_TicketStatus | |
| fkDATA_Media2Performances_DATA_Ticket_TicketId | TicketId ↙ ❏ DATA_Media2Performances | |
| FK__DATA_Tick__Ticke__54575F1A | TicketId ↙ ❏ DATA_Ticket2Media | |
| FK__DATA_Tick__Ticke__563FA78C | TicketId ↙ ❏ DATA_Ticket2Performance | |
| FK__DATA_Tick__Ticke__5827EFFE | TicketId ↙ ❏ DATA_TicketStatusLog | |
| FK__DATA_Tick__Paren__5B045CA9 | TicketId ↙ ❏ DATA_TicketUpgrade(ParentTicketId) | |
| FK__DATA_Tick__RootT__5BF880E2 | TicketId ↙ ❏ DATA_TicketUpgrade(RootTicketId) | |
| FK__DATA_Tick__Ticke__5CECA51B | TicketId ↙ ❏ DATA_TicketUpgrade | |
| FK__DATA_Tick__Ticke__5FC911C6 | TicketId ↙ ❏ DATA_TicketUsage | |
| FK__CNF_Promo__Ticke__64F7DB37 | TicketId ↙ ❏ CNF_PromotionPermission | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Ticket2DocumentId | int IDENTITY |
| TicketId | int | |
| DocumentId | int | |
| Filename | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Signed | smallint | |
| LastPage | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| DocTemplateId | int | |
| Mandatory | smallint | |
| Indexes | ||
| PK__DATA_Tic__CD34438D195FE0C9 | Primary Key ON Ticket2DocumentId | |
| Foreign Key | ||
| FK_DATA_Ticket2Document_DocumentId | DocumentId ↗ ❏ ARC_Document | |
| FK_DATA_Ticket2Document_TicketId | TicketId ↗ ❏ DATA_Ticket | |
| FK_DocTemplateId | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Ticket2MediaId | int IDENTITY |
| * | MediaId | int |
| * | TicketId | int |
| * | DefaultMedia | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tic__BFAA222F43E7A941 | Primary Key ON Ticket2MediaId | |
| IDX_Ticket2Media_MediaId | Index ON MediaId | |
| idxTicket2Media_TicketId | Index ON TicketId | |
| Idx_Ticket2Media_TicketId_MediaId | Index ON MediaId, TicketId | |
| Foreign Key | ||
| FK__DATA_Tick__Media__53633AE1 | MediaId ↗ ❏ DATA_Media | |
| FK__DATA_Tick__Ticke__54575F1A | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_Ticket2Media_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Ticket2Media_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Ticket2PerformanceId | int IDENTITY |
| * | TicketId | int |
| * | PerformanceId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| EnvelopeCapacityId | int | |
| * | Active | int DEFAULT 1 |
| Indexes | ||
| PK__DATA_Tic__511E5D9AB8A0C1F4 | Primary Key ON Ticket2PerformanceId | |
| Idx_DATA_Ticket2Performance_PerformanceId | Index ON PerformanceId | |
| Idx_DATA_Ticket2Performance_TicketId | Index ON TicketId | |
| Foreign Key | ||
| FK__DATA_Tick__Envel__3C774A96 | EnvelopeCapacityId ↗ ❏ CNF_EnvelopeCapacity | |
| FK__DATA_Tick__Envel__7C07BFC6 | EnvelopeCapacityId ↗ ❏ CNF_EnvelopeCapacity | |
| FK__DATA_Tick__Perfo__554B8353 | PerformanceId ↗ ❏ CNF_Performance | |
| FK__DATA_Tick__Ticke__563FA78C | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_Ticket2Performance_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Ticket2Performance_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketToPhoneId | int IDENTITY |
| * | TicketId | int |
| PhoneId | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| AssociationType | int | |
| PhoneNameOwner | nvarchar(500) COLLATE Latin1_General_CI_AS | |
| PhoneSurnameOwner | nvarchar(500) COLLATE Latin1_General_CI_AS | |
| PhoneEmailOwner | nvarchar(500) COLLATE Latin1_General_CI_AS | |
| PhoneMyPassIdOwner | nvarchar(500) COLLATE Latin1_General_CI_AS | |
| AccountId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tic__91BB2B78CE2B3552 | Primary Key ON TicketToPhoneId | |
| Foreign Key | ||
| FK_DATA_Ticket2Phone_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_Ticket2Phone_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Ticket2Phone_TicketId | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_Ticket2Phone_WorkstationId | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Ticket2TicketPackageId | int IDENTITY |
| * | TicketPackageId | int |
| * | TicketId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tic__4BB0C732E35C4FC5 | Primary Key ON Ticket2TicketPackageId | |
| Foreign Key | ||
| FK_DATA_Ticket2TicketPackage_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Ticket2TicketPackage_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_Ticket2TicketPackage_TicketId | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_Ticket2TicketPackage_TicketPackageId | TicketPackageId ↗ ❏ DATA_TicketPackage | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketExportId | int IDENTITY |
| * | UserId | int |
| * | WorkstationId | int |
| * | PerformanceId | int |
| * | CreationDateTime | datetime |
| * | StartDateTime | datetime |
| Indexes | ||
| PK__DATA_Tic__91B350935014F7E7 | Primary Key ON TicketExportId | |
| Foreign Key | ||
| FK_DATA_TicketExport_PerformanceId | PerformanceId ↗ ❏ CNF_Performance | |
| FK_DATA_TicketExport_UserId | UserId ↗ ❏ CNF_User | |
| FK_DATA_TicketExport_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketHistoryId | int IDENTITY |
| * | TransactionId | int |
| * | TicketId | int |
| AccountId | int | |
| VoidType | smallint | |
| * | InsDateTime | datetime |
| PriorActiveToDate | datetime | |
| Indexes | ||
| PK__DATA_Tic__0CBF57D4633E5F04 | Primary Key ON TicketHistoryId | |
| Foreign Key | ||
| FK_DATA_TicketHistory_AccountId | AccountId ↗ ❏ DATA_Account | |
| FK_DATA_TicketHistory_TicketId | TicketId ↗ ❏ DATA_Ticket | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketOptionsId | int IDENTITY |
| * | TicketId | int |
| * | OptionType | int |
| * | OptionValue | nvarchar(200) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tic__3588FA98DB9B2E14 | Primary Key ON TicketOptionsId | |
| Foreign Key | ||
| FK_DATA_TicketOptions_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_TicketOptions_TicketId | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_TicketOptions_WorkstationId | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketPackageId | int |
| NumPackage | numeric(20,0) | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tic__B73FB0586FE22D19 | Primary Key ON TicketPackageId | |
| Foreign Key | ||
| FK_DATA_TicketPackage_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_TicketPackage_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_TicketPackage_TicketPackageId | TicketPackageId ↗ ❏ DATA_Ticket(TicketId) | |
| Referring Foreign Key | ||
| FK_DATA_Ticket2TicketPackage_TicketPackageId | TicketPackageId ↙ ❏ DATA_Ticket2TicketPackage | |
| FK_DATA_TicketPackage2Group_TicketPackageId | TicketPackageId ↙ ❏ DATA_TicketPackage2Group | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketPackage2GroupId | int IDENTITY |
| * | TicketPackageGroupId | int |
| * | TicketPackageId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tic__DA6A2518A64E2C12 | Primary Key ON TicketPackage2GroupId | |
| Foreign Key | ||
| FK_DATA_TicketPackage2Group_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_TicketPackage2Group_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_TicketPackage2Group_TicketGroupId | TicketPackageGroupId ↗ ❏ CNF_TicketPackageGroup | |
| FK_DATA_TicketPackage2Group_TicketPackageId | TicketPackageId ↗ ❏ DATA_TicketPackage | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketStatusID | int IDENTITY |
| * | TicketId | int |
| AccountId | int | |
| PerformanceId | int | |
| TransactionId | int | |
| * | VoidType | smallint DEFAULT 0 |
| * | Active | smallint DEFAULT 0 |
| UserId | int | |
| EventDateTime | datetime | |
| WorkstationId | int | |
| PriorActiveToDate | datetime | |
| PriorValidityXML | varchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Tic__76E509E17350A3E6 | Primary Key ON TicketStatusID | |
| IDX_DATA_TicketStatus_TicketId_Active | Index ON TicketId, Active | |
| Idx_DATA_TicketStatus_PerformanceId | Index ON PerformanceId | |
| Idx_DATA_TicketStatus_VoidType | Index ON VoidType | |
| Foreign Key | ||
| FK__DATA_Tick__Accou__70A98505 | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Tick__Perfo__719DA93E | PerformanceId ↗ ❏ CNF_Performance | |
| FK__DATA_Tick__Ticke__6FB560CC | TicketId ↗ ❏ DATA_Ticket | |
| FK__DATA_Tick__Trans__7291CD77 | TransactionId ↗ ❏ DATA_Transaction | |
| FK__DATA_Tick__UserI__26D08B8C | UserId ↗ ❏ CNF_User | |
| FK__DATA_Tick__Works__27C4AFC5 | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LogId | int IDENTITY |
| * | SiteId | int |
| * | WorkstationId | int |
| * | TicketId | int |
| * | UserId | int |
| * | DateTime | datetime |
| * | Status | int |
| Indexes | ||
| PK__DATA_Tic__5E5486486586CA08 | Primary Key ON LogId | |
| Foreign Key | ||
| FK__DATA_Tick__SiteI__5733CBC5 | SiteId ↗ ❏ CNF_Site | |
| FK__DATA_Tick__Ticke__5827EFFE | TicketId ↗ ❏ DATA_Ticket | |
| FK__DATA_Tick__UserI__591C1437 | UserId ↗ ❏ CNF_User | |
| FK__DATA_Tick__Works__5A103870 | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketId | int |
| * | RootTicketId | int |
| ParentTicketId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tic__712CC607D3F8BAE8 | Primary Key ON TicketId | |
| Foreign Key | ||
| FK__DATA_Tick__Paren__5B045CA9 | ParentTicketId ↗ ❏ DATA_Ticket(TicketId) | |
| FK__DATA_Tick__RootT__5BF880E2 | RootTicketId ↗ ❏ DATA_Ticket(TicketId) | |
| FK__DATA_Tick__Ticke__5CECA51B | TicketId ↗ ❏ DATA_Ticket | |
| FK_DATA_TicketUpgrade_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_TicketUpgrade_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | UsageId | int IDENTITY |
| PerformanceId | int | |
| * | TicketId | int |
| * | MediaIdentifierId | int |
| GateId | int | |
| * | UsageDate | datetime |
| * | FUsageDate | datetime |
| * | UsageType | smallint |
| * | ValidateResult | smallint |
| * | LogTimeStamp | datetime |
| * | WorkstationId | int |
| AccessConfigurationId | int | |
| * | ValidationType | smallint DEFAULT 0 |
| * | UserId | int DEFAULT 1 |
| LocationRouteId | int | |
| Indexes | ||
| PK__DATA_Tic__29B19720DB80957D | Primary Key ON UsageId | |
| IDX_DATA_TicketUsage_FUsageDate | Index ON FUsageDate | |
| IDX_DATA_TicketUsage_MediaIdenfierId | Index ON MediaIdentifierId | |
| IDX_DATA_TicketUsage_TicketId | Index ON TicketId | |
| IDX_DATA_TicketUsage_UsageType | Index ON UsageType | |
| IDX_DATA_TicketUsage_ValidateResult | Index ON ValidateResult | |
| idxDATA_TicketUsage_TicketUsageTypeValidateResult | Index ON TicketId, UsageType, ValidateResult | |
| IDX_DATA_TicketUsage_UsageType_Date_Validate | Index ON UsageType, FUsageDate, ValidateResult | |
| Foreign Key | ||
| FK__DATA_Tick__Acces__5DE0C954 | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| FK__DATA_Tick__GateI__5ED4ED8D | GateId ↗ ❏ ADM_Gate | |
| FK__DATA_Tick__Ticke__5FC911C6 | TicketId ↗ ❏ DATA_Ticket | |
| FK__DATA_Tick__Works__60BD35FF | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_DATA_Tick_Media | MediaIdentifierId ↗ ❏ DATA_MediaIdentifier | |
| fk_DATA_TicketUsage_UserId | UserId ↗ ❏ CNF_User | |
| Referring Foreign Key | ||
| FK_RR_DATA_Revenue_DATA_TicketUsage_UsageId | UsageId ↙ ❏ RR_DATA_Revenue | |
| FK_DATA_Ticket_DATA_TicketUsage_FirstUsageId | UsageId ↙ ❏ DATA_Ticket(FirstUsageId) | |
| FK__DATA_Tick__Usage__62A57E71 | UsageId ↙ ❏ DATA_TicketUsageOption | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketUsageOptionId | int IDENTITY |
| * | UsageId | int |
| * | OptionType | smallint |
| * | OptionValue | nvarchar(200) COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__DATA_Tic__C4D38C835E8798EB | Primary Key ON TicketUsageOptionId | |
| IDX_DATA_TicketUsageOption_OptionType | Index ON UsageId, OptionType | |
| IDX_DATA_TicketUsageOption_UsageId | Index ON UsageId | |
| Foreign Key | ||
| FK__DATA_Tick__Usage__62A57E71 | UsageId ↗ ❏ DATA_TicketUsage | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TransactionId | int IDENTITY |
| * | SystemId | int |
| * | SiteId | int |
| * | SaleId | int |
| * | TransactionAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | TransactionType | smallint |
| * | TransactionDate | datetime |
| * | FTransactionDate | datetime |
| * | Serial | int |
| * | WorkstationId | int |
| * | OperatingAreaId | int |
| * | UserId | int |
| * | BoxId | int |
| * | Items | int DEFAULT 0 |
| * | Quantity | int |
| * | TotalAmount | float DEFAULT 0 |
| * | TotalTaxes | float DEFAULT 0 |
| * | Revenue | float DEFAULT 0 |
| * | TaxRevenue | float DEFAULT 0 |
| * | Change | float DEFAULT 0 |
| * | Tip | float DEFAULT 0 |
| * | TransactionStatus | smallint |
| * | Approved | smallint DEFAULT 0 |
| * | Validated | smallint DEFAULT 0 |
| * | Encoded | smallint DEFAULT 0 |
| * | Completed | smallint DEFAULT 0 |
| * | Paid | smallint DEFAULT 0 |
| ShiftId | int | |
| TimeSlot | smallint | |
| * | Rounding | float DEFAULT 0 |
| UserGroupId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| FlexContractStatus | smallint | |
| IsBulk | smallint | |
| Invoice | smallint | |
| Indexes | ||
| PK__DATA_Tra__55433A6B8D1B2BCF | Primary Key ON TransactionId | |
| UQ__DATA_Tra__55437B498B4879CF | Unique Key ON TransactionAK | |
| IDX_DATA_Transaction_SaleId | Index ON SaleId | |
| IDX_Transaction_FTransactionDate | Index ON FTransactionDate | |
| idxData_Transaction_Completed | Index ON Completed | |
| idxDATA_Transaction_DataWkSerial | Index ON FTransactionDate, WorkstationId, Serial | |
| idxDATA_Transaction_Reconciliation | Index ON WorkstationId, Completed | |
| IDX_Transaction_TransactionDate | Index ON TransactionDate | |
| IDX_Data_Transaction_TranasctionType | Index ON TransactionType | |
| IDX_DATA_Transaction_WksID_C_Include | Index ON WorkstationId, Completed | |
| Idx_Transaction_WksId_Completed | Index ON WorkstationId, Completed | |
| Idx_DATA_Transaction_BoxId | Index ON BoxId | |
| Foreign Key | ||
| FK__DATA_Tran__BoxId__6399A2AA | BoxId ↗ ❏ DATA_Box | |
| FK__DATA_Tran__Opera__648DC6E3 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK__DATA_Tran__SaleI__6581EB1C | SaleId ↗ ❏ DATA_Sale | |
| FK__DATA_Tran__SiteI__66760F55 | SiteId ↗ ❏ CNF_Site | |
| FK__DATA_Tran__Syste__676A338E | SystemId ↗ ❏ CNF_System | |
| FK__DATA_Tran__UserI__685E57C7 | UserId ↗ ❏ CNF_User | |
| FK__DATA_Tran__Works__69527C00 | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_DATA_Transaction_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Transaction_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fk_DATA_Transaction_UserGroupId | UserGroupId ↗ ❏ CNF_UserGroup | |
| Referring Foreign Key | ||
| FK__DATA_Tran__Trans__6D230CE4 | TransactionId ↙ ❏ DATA_Transaction2Ticket | |
| FK__DATA_Tran__Trans__70F39DC8 | TransactionId ↙ ❏ DATA_TransactionItem | |
| FK_DATA_Transaction_TransactionTax | TransactionId ↙ ❏ DATA_TransactionTax | |
| FK_DATA_RenewalPlanDetails_TransactionId | TransactionId ↙ ❏ DATA_RenewalPlanDetails(RenewalTransactionId) | |
| FK_RR_DATA_Revenue_DATA_Transaction_TransactionId | TransactionId ↙ ❏ RR_DATA_Revenue | |
| FK__DATA_Ledg__Trans__6B6FCE9C | TransactionId ↙ ❏ DATA_Ledger | |
| fk_DATA_InvoiceData_TransactionId | TransactionId ↙ ❏ DATA_InvoiceData | |
| FK__DATA_Medi__Trans__76E18148 | TransactionId ↙ ❏ DATA_MediaStoredValue | |
| FK__DATA_Paym__Trans__7AB2122C | TransactionId ↙ ❏ DATA_Payment | |
| FK__DATA_Paym__Settl__0347582D | TransactionId ↙ ❏ DATA_PaymentCredit(SettleTransactionId) | |
| FK__DATA_Paym__Trans__0BDC9E2E | TransactionId ↙ ❏ DATA_PaymentPlan2Transaction | |
| FK_DATA_History_Override_TransactionId | TransactionId ↙ ❏ DATA_History_Override | |
| FK_DATA_SaleItem2CostCenter_TransactionId | TransactionId ↙ ❏ DATA_SaleItem2CostCenter | |
| FK__DATA_Tick__Trans__7291CD77 | TransactionId ↙ ❏ DATA_TicketStatus | |
| fkDATA_Media2Performances_DATA_Transaction_TransactionId | TransactionId ↙ ❏ DATA_Media2Performances | |
| RES_Data_Transaction_Data_Transaction | TransactionId ↙ ❏ RES_Data_Transaction | |
| FK__DATA_Tran__Trans__6B3AC472 | TransactionId ↙ ❏ DATA_Transaction2Media | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Transaction2MediaId | int IDENTITY |
| * | TransactionId | int |
| * | MediaId | int |
| * | OperationType | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tra__85AD46B9261E1431 | Primary Key ON Transaction2MediaId | |
| idxTransaction2Media_MediaId | Index ON MediaId | |
| idxTransaction2Media_TransactionId | Index ON TransactionId | |
| Foreign Key | ||
| FK__DATA_Tran__Media__6A46A039 | MediaId ↗ ❏ DATA_Media | |
| FK__DATA_Tran__Trans__6B3AC472 | TransactionId ↗ ❏ DATA_Transaction | |
| FK_DATA_Transaction2Media_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Transaction2Media_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Transaction2TicketId | int IDENTITY |
| * | TransactionId | int |
| * | TicketId | int |
| * | OperationType | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tra__C193FD3352763549 | Primary Key ON Transaction2TicketId | |
| idxTransaction2Ticket_TicketId | Index ON TicketId | |
| idxTransaction2Ticket_TransactionId | Index ON TransactionId | |
| Idx_Trn2Tck_TrnId_TckId | Index ON TransactionId, TicketId | |
| Foreign Key | ||
| FK__DATA_Tran__Ticke__6C2EE8AB | TicketId ↗ ❏ DATA_Ticket | |
| FK__DATA_Tran__Trans__6D230CE4 | TransactionId ↗ ❏ DATA_Transaction | |
| FK_DATA_Transaction2Ticket_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Transaction2Ticket_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ItemId | int IDENTITY |
| * | SystemId | int |
| * | SiteId | int |
| * | TransactionId | int |
| * | SaleItemId | int |
| * | ProductType | smallint |
| * | TransactionItemOperation | smallint |
| Position | int | |
| Quantity | smallint | |
| UnitPrice | float | |
| TotalAmount | float | |
| UnitTaxes | float | |
| TotalTaxes | float | |
| GroupingCode | smallint | |
| * | UnitRecharge | float |
| * | Discount | money DEFAULT 0 |
| * | QtyUsedForPromotion | money DEFAULT 0 |
| PromotionItemRuleId | int | |
| ComboRef | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| PersonOnEachMediaIdentifier | smallint | |
| SubscriptionId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| QuantityToPrint | int | |
| ItemTransactionType | smallint | |
| Indexes | ||
| PK__DATA_Tra__727E838B0FD598F1 | Primary Key ON ItemId | |
| FKIdx1 | Index ON TransactionId | |
| idxDATA_TransactionItem_ComboRef | Index ON ComboRef | |
| idxDATA_TransactionItem_SaleItemID | Index ON SaleItemId | |
| Foreign Key | ||
| FK__DATA_Tran__SaleI__6E17311D | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK__DATA_Tran__SiteI__6F0B5556 | SiteId ↗ ❏ CNF_Site | |
| FK__DATA_Tran__Syste__6FFF798F | SystemId ↗ ❏ CNF_System | |
| FK__DATA_Tran__Trans__70F39DC8 | TransactionId ↗ ❏ DATA_Transaction | |
| FK_DATA_TransactionItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_TransactionItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_TransactionItem_PromotionItemRule | PromotionItemRuleId ↗ ❏ CNF_PromotionItemRule | |
| Referring Foreign Key | ||
| DATA_TransactionItemCombo_TransactionItem | ItemId ↙ ❏ DATA_TransactionItem_Combo | |
| FK_DATA_TransactionItemRule_Transaction | ItemId ↙ ❏ DATA_TransactionItemRule | |
| Relationship1231 | ItemId ↙ ❏ STOCK_Movement | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TransactionItemRuleId | int IDENTITY |
| PromotionItemRuleId | int | |
| * | ItemId | int |
| * | FeeorDiscount | int |
| Perc | float | |
| Forfait | money | |
| Price | money | |
| * | GeneratedByTheSystem | bit |
| ApplyToQty | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tra__F5E81362E43354E0 | Primary Key ON TransactionItemRuleId | |
| idxDATA_TransactionItemRule_ItemId | Index ON ItemId | |
| Idx_TransItemRule_PromoItemRuleId | Index ON PromotionItemRuleId | |
| Foreign Key | ||
| FK_DATA_TransactionItemRule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_TransactionItemRule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_DATA_TransactionItemRule_PromotionItemRule | PromotionItemRuleId ↗ ❏ CNF_PromotionItemRule | |
| FK_DATA_TransactionItemRule_Transaction | ItemId ↗ ❏ DATA_TransactionItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TransactionItemComboId | int IDENTITY |
| * | ComboId | int |
| ComboChoiceId | int | |
| MatrixCellId | int | |
| * | ItemId | int |
| Price | money | |
| Qty | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tra__F4FEDA6C6CCE3933 | Primary Key ON TransactionItemComboId | |
| Foreign Key | ||
| DATA_TransactionItemCombo_MatrixCell | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| DATA_TransactionItemCombo_ProductCombo | ComboId ↗ ❏ STOCK_CNF_ProductCombo | |
| DATA_TransactionItemCombo_ProductComboChoice | ComboChoiceId ↗ ❏ STOCK_CNF_ProductComboChoice | |
| DATA_TransactionItemCombo_TransactionItem | ItemId ↗ ❏ DATA_TransactionItem | |
| FK_DATA_TransactionItem_Combo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_TransactionItem_Combo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TransactionTaxId | int IDENTITY |
| * | TransactionId | int |
| * | TaxId | int |
| TaxAmount | money | |
| Net | money | |
| Gross | money | |
| * | TaxExempt | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Tra__28A164CCA5CEFF78 | Primary Key ON TransactionTaxId | |
| idxTransactiontax | Index ON TransactionId, TaxId | |
| Idx_Data_TransactionTax_TransactionId | Index ON TransactionId | |
| Foreign Key | ||
| FK_CNF_TAX_Transaction | TaxId ↗ ❏ CNF_Tax | |
| FK_DATA_Transaction_TransactionTax | TransactionId ↗ ❏ DATA_Transaction | |
| FK_DATA_TransactionTax_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_TransactionTax_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TriggerItemId | int IDENTITY |
| * | TriggerItemStatus | smallint |
| * | TriggerType | smallint |
| * | EntityTable | smallint |
| * | EntityId | int |
| * | ListenerType | smallint |
| * | InsDateTime | datetime |
| * | InsWorkstationId | int |
| * | InsUserId | int |
| UpdDateTime | datetime | |
| UpdWorkstationId | int | |
| UpdUserId | int | |
| CmpDateTime | datetime | |
| CmpUserId | int | |
| CmpWorkstationId | int | |
| DocTemplateId | int | |
| AdditionalFilters | ntext COLLATE Latin1_General_CI_AS | |
| Attempts | int | |
| SchedDate | datetime | |
| Indexes | ||
| PK__DATA_Tri__12DF47DEB4487BB6 | Primary Key ON TriggerItemId | |
| Idx_TriggerItem_TriggerManagerFull | Index ON TriggerType, EntityTable, EntityId, ListenerType | |
| Idx_TriggerItem_DocTemplateId | Index ON DocTemplateId | |
| Foreign Key | ||
| FK__DATA_Trig__CmpUs__7A7D0802 | CmpUserId ↗ ❏ CNF_User(UserId) | |
| FK__DATA_Trig__CmpWo__7B712C3B | CmpWorkstationId ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK__DATA_Trig__DocTe__7C655074 | DocTemplateId ↗ ❏ CNF_DocTemplate | |
| FK__DATA_Trig__InsUs__7D5974AD | InsUserId ↗ ❏ CNF_User(UserId) | |
| FK__DATA_Trig__InsWo__7E4D98E6 | InsWorkstationId ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK__DATA_Trig__UpdUs__7F41BD1F | UpdUserId ↗ ❏ CNF_User(UserId) | |
| FK__DATA_Trig__UpdWo__0035E158 | UpdWorkstationId ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Trig__Trigg__012A0591 | TriggerItemId ↙ ❏ DATA_TriggerItemLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TriggerItemLogId | int IDENTITY |
| * | TriggerItemId | int |
| * | WorkstationId | int |
| * | UserId | int |
| * | LogDateTime | datetime |
| * | LogMessage | ntext COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__DATA_Tri__0BAFF0BF7B0F88CA | Primary Key ON TriggerItemLogId | |
| Foreign Key | ||
| FK__DATA_Trig__Trigg__012A0591 | TriggerItemId ↗ ❏ DATA_TriggerItem | |
| FK__DATA_Trig__UserI__021E29CA | UserId ↗ ❏ CNF_User | |
| FK__DATA_Trig__Works__03124E03 | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TriggerId | int IDENTITY |
| * | TriggerType | smallint |
| * | ListenerType | smallint |
| EntityTable | smallint | |
| EntityId | int | |
| ErrorCode | varchar(6) COLLATE Latin1_General_CI_AS | |
| ErrorMessage | varchar(255) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Tri__11321F62A68213E7 | Primary Key ON TriggerId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LogID | int IDENTITY |
| * | UserId | int |
| * | WorkstationId | int |
| * | LogDate | datetime |
| * | LogType | int |
| IPAddress | varchar(15) COLLATE Latin1_General_CI_AS | |
| UserGroupId | int | |
| EntityTable | int | |
| EntityId | int | |
| WebServicePath | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__DATA_Use__5E5499A8C626AED9 | Primary Key ON LogID | |
| IdxData_UserLog_Workstationid | Index ON WorkstationId | |
| Foreign Key | ||
| FK__DATA_User__UserI__0406723C | UserId ↗ ❏ CNF_User | |
| FK__DATA_User__Works__04FA9675 | WorkstationId ↗ ❏ CNF_Workstation | |
| fk_DATA_UserLog_UserGroupId | UserGroupId ↗ ❏ CNF_UserGroup | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SyncId | int IDENTITY |
| * | EntityId | int |
| * | EntityTable | smallint |
| AdditionalInfo | nvarchar(4000) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Viv__7E50DEC6F1DD1A43 | Primary Key ON SyncId | |
| Foreign Key | ||
| FK_DATA_VivaDotComSync_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_VivaDotComSync_WorkstationId | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | VoucherId | int IDENTITY |
| * | AccountId | int |
| ParentVoucherId | int | |
| * | VoucherType | smallint |
| * | VoucherStatus | smallint |
| * | VoucherCode | nvarchar(40) COLLATE Latin1_General_CI_AS |
| * | VoucherName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| StartDate | datetime | |
| EndDate | datetime | |
| MaxItems | smallint | |
| * | CreateDate | datetime |
| MaxTickets | smallint | |
| InUseWks | smallint DEFAULT 0 | |
| DenyCreateOnPos | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Vou__3AEE79217925689E | Primary Key ON VoucherId | |
| IDX_Voucher_VoucherCode | Index ON VoucherCode | |
| Foreign Key | ||
| FK__DATA_Vouc__Accou__05EEBAAE | AccountId ↗ ❏ DATA_Account | |
| FK__DATA_Vouc__Paren__06E2DEE7 | ParentVoucherId ↗ ❏ DATA_Voucher(VoucherId) | |
| FK_DATA_Voucher_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_Voucher_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__DATA_Vouc__Paren__06E2DEE7 | VoucherId ↙ ❏ DATA_Voucher(ParentVoucherId) | |
| FK__DATA_Vouc__Vouch__08CB2759 | VoucherId ↙ ❏ DATA_VoucherItem | |
| FK__DATA_Ledg__Vouch__6C63F2D5 | VoucherId ↙ ❏ DATA_Ledger | |
| FK__DATA_Sale__Vouch__24A84BF8 | VoucherId ↙ ❏ DATA_SaleItem | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | VoucherItemId | int IDENTITY |
| * | VoucherId | int |
| * | MatrixCellId | int |
| * | MinQuantity | smallint |
| MaxQuantity | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__DATA_Vou__969575E0AFF9C9A9 | Primary Key ON VoucherItemId | |
| Foreign Key | ||
| FK__DATA_Vouc__Matri__07D70320 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK__DATA_Vouc__Vouch__08CB2759 | VoucherId ↗ ❏ DATA_Voucher | |
| FK_DATA_VoucherItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_DATA_VoucherItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | WaitListSubscriptionID | int IDENTITY |
| * | WaitListSubscriptionDateTime | datetime |
| * | WaitListSubscriptionEmail | nchar(100) COLLATE Latin1_General_CI_AS |
| * | WaitListSubscriptionQtdSeats | int |
| WaitListSubscriptionQtdNotifications | int | |
| WaitListSubscriptionLastNotificationDateTime | datetime | |
| WaitListSubscriptionPurge | int | |
| WaitListSubscriptionSaleId | int | |
| WaitListSubscriptionPerformanceAK | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| WaitListSubscriptionSeatCategoryID | int | |
| WaitListSubscriptionSpaceStructureID | int | |
| WaitListSubscriptionEnvelopeID | int | |
| * | WaitListSubscriptionType | smallint DEFAULT 0 |
| * | WaitListSubscriptionEventID | int DEFAULT 0 |
| * | WaitListSubscriptionNumberOfPerformances | int DEFAULT 0 |
| * | WaitListSubscriptionPriceTableID | int DEFAULT 0 |
| Indexes | ||
| PK__DATA_Wai__399AFF1D220C234C | Primary Key ON WaitListSubscriptionID | |
| IDX_WaitListSubscription_DateTime | Index ON WaitListSubscriptionDateTime | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | WeatherId | int IDENTITY |
| * | Name | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | Date_time | datetime |
| Maximum_Temperature | float | |
| Minimum_Temperature | float | |
| Temperature | float | |
| Wind_Chill | float | |
| Heat_Index | float | |
| Precipitation | float | |
| Snow | float | |
| Snow_Depth | float | |
| Wind_Speed | float | |
| Wind_Direction | float | |
| Wind_Gust | float | |
| Visibility | float | |
| Cloud_Cover | float | |
| Relative_Humidity | float | |
| Conditions | nvarchar(250) COLLATE Latin1_General_CI_AS | |
| Historical | char(1) COLLATE Latin1_General_CI_AS | |
| Location | nvarchar(100) COLLATE Latin1_General_CI_AS |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:25 Script Version: 1 ******/ CREATE VIEW [dbo].[ExportEncodedReservations] as SELECT TR.TransactionId, TR.TransactionAK, TR.Completed, TR.SiteId, PAYTR.TransactionId PAYTrId, PAYTR.TransactionAK PAYTrAK, APPTR.TransactionId APPTrId, APPTR.TransactionAK APPTrAK FROM DATA_Transaction TR With(NoLock) INNER JOIN DATA_Sale Sale With(NoLock) ON TR.SaleId = Sale.SaleId INNER JOIN DATA_Transaction PAYTR With(NoLock) ON Sale.SaleId = PAYTR.SaleId AND PAYTR.Paid > 0 AND PAYTR.Encoded = 0 AND PAYTR.TransactionType = 16 --Lk_TransactionType_Reservation INNER JOIN DATA_Transaction APPTR With(NoLock) ON Sale.SaleId = APPTR.SaleId AND APPTR.Approved > 0 AND APPTR.Encoded = 0 AND APPTR.TransactionType = 16 --Lk_TransactionType_Reservation WHERE TR.Encoded = 1 AND TR.Paid = 0 | ||
| Idx | Column Name | Data Type |
| TransactionId | int | |
| TransactionAK | varchar(32) | |
| Completed | smallint | |
| SiteId | int | |
| PAYTrId | int | |
| PAYTrAK | varchar(32) | |
| APPTrId | int | |
| APPTrAK | varchar(32) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:25 Script Version: 1 ******/ CREATE VIEW [dbo].[ExportNoPayTransactions] as SELECT SI.SiteCode, S.SaleId, TR.TransactionId, TR.Completed, TR.Encoded, 0 as PaymentId, TR.SiteId, TR.TransactionAk, TR.FTransactionDate, WS.WorkstationAK, US.UserCode, OP.AreaCode, TR.TransactionType, LkTRType.Description as TransactionTypeDesc, 0 as PaymentType, 'NOPAY' as PaymentMethodDesc, TR.Revenue as TransactionAmount, CUR.ISOCode, CUR.ExchangeRate, 'FALSE' as CREDIT, RES.ReservationAK, RES_AC.AccountId RES_AccountId, RES_AC.AccountAk RES_AccountAk, RES_DMGAC.DmgCategoryCode RES_AccountDMG FROM DATA_Transaction TR With(NoLock) INNER JOIN DATA_Sale S With(NoLock) ON TR.SaleId = S.SaleId INNER JOIN CNF_Workstation WS With(NoLock) ON TR.WorkstationId = WS.WorkstationId INNER JOIN CNF_User US With(NoLock) ON TR.UserId = US.UserId INNER JOIN CNF_OperatingArea OP With(NoLock) ON TR.OperatingAreaId = OP.OperatingAreaId INNER JOIN CNF_Site SI With(NoLock) ON TR.SiteId = SI.SiteId INNER JOIN CNF_LookUp LkTRType With(NoLock) ON TR.TransactionType = LkTRType.ItemId AND LkTRType.LookUpTableId = 3 --Lookup_TransactionType LEFT OUTER JOIN DATA_Reservation RES With(NoLock) ON TR.SaleId = RES.SaleId LEFT OUTER JOIN DATA_Account RES_AC With(NoLock) ON RES.AccountId = RES_AC.AccountId LEFT OUTER JOIN CNF_DmgCategory RES_DMGAC With(NoLock) ON RES_DMGAC.DmgCategoryId = RES_AC.DmgCategoryId INNER JOIN CNF_Currency CUR With(NoLock) ON CUR.CurrencyType = 1 LEFT OUTER JOIN DATA_Payment PAY With(NoLock) ON TR.TransactionId = PAY.TransactionId WHERE TR.Paid = 1 AND S.Paid = 1 AND PAY.PaymentId IS NULL AND TR.TransactionType <> 4 --Lk_TransactionType_Reissue AND ( (TR.TransactionType <> 7 AND TR.Quantity > 0 AND TR.Items > 0) --Lk_TransactionType_UpgradeDowngrade OR (TR.TransactionType = 7 AND TR.Quantity = 0 AND TR.Items > 0) --Lk_TransactionType_UpgradeDowngrade ) | ||
| Idx | Column Name | Data Type |
| SiteCode | varchar(3) | |
| SaleId | int | |
| TransactionId | int | |
| Completed | smallint | |
| Encoded | smallint | |
| PaymentId | int | |
| SiteId | int | |
| TransactionAk | varchar(32) | |
| FTransactionDate | datetime | |
| WorkstationAK | varchar(32) | |
| UserCode | nvarchar(100) | |
| AreaCode | nvarchar(20) | |
| TransactionType | smallint | |
| TransactionTypeDesc | nvarchar(160) | |
| PaymentType | int | |
| PaymentMethodDesc | varchar(5) | |
| TransactionAmount | float(8) | |
| ISOCode | varchar(3) | |
| ExchangeRate | float(8) | |
| CREDIT | varchar(5) | |
| ReservationAK | varchar(32) | |
| RES_AccountId | int | |
| RES_AccountAk | varchar(32) | |
| RES_AccountDMG | nvarchar(20) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:24 Script Version: 1 ******/ CREATE VIEW [dbo].[ExportTicketReissue] as --reissue SELECT SI.SaleItemId, TCK.SaleItemId AS TicketSaleItemId, ABS(TI.Quantity) AS Quantity, TI.ProductType, TR.TransactionId, --TR.TransactionType, TR.SaleId, CNF_Site.SiteCode, TR.TransactionAK, TI.ItemId, TR.TransactionDate, WS.WorkstationAK, US.UserCode, OP.AreaCode, LkTRType.Description AS ActionType, --TransactionTypeDesc, SI.MatrixCellId AS TicketUniqueId, MC.Code AS ProductCode, --identifiercode --StoredValue RESAC.AccountId AS AccountCode, RES.ReservationAK AS ReservationCode, DMGOP.DmgCategoryCode AS TransactionType, RESDMGAC.DmgCategoryCode AS AccountDMG, Promo.DmgCategoryCode AS PromoCategory, CASE WHEN (MS.ProductType = 2) THEN (SI.UnitRawPrice * TI.Quantity) ELSE --(SI.UnitRawPrice * TI.TransactionItemOperation) CASE WHEN (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE (SI.UnitRawPrice * TI.TransactionItemOperation) END END AS GrossAmount, CASE WHEN (MS.ProductType = 2) THEN (TI.TotalAmount) ELSE --(SI.UnitPrice * TI.TransactionItemOperation) CASE WHEN (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE (SI.UnitPrice * TI.TransactionItemOperation) END END AS Amount, CASE WHEN (MS.ProductType = 2) THEN ((SI.UnitRawPrice - SI.UnitPrice) * TI.Quantity) ELSE --((SI.UnitRawPrice - SI.UnitPrice) * TI.TransactionItemOperation) CASE WHEN (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE ((SI.UnitRawPrice - SI.UnitPrice) * TI.TransactionItemOperation) END END AS DiscountAmount, CASE WHEN (MS.ProductType = 2) THEN (TI.TotalTaxes) ELSE --(TI.UnitTaxes * TI.TransactionItemOperation) CASE WHEN (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE (TI.UnitTaxes * TI.TransactionItemOperation) END END AS TaxAmount, SI.UnitRawPrice * TI.TransactionItemOperation AS UnitGrossAmount, TI.UnitPrice * TI.TransactionItemOperation AS UnitAmount, (SI.UnitRawPrice - SI.UnitPrice) * TI.TransactionItemOperation AS UnitDiscountAmount, TI.UnitTaxes * TI.TransactionItemOperation AS UnitTaxAmount, (SI.UnitRawPrice * TI.Quantity) AS TotalGrossAmount, TI.TotalAmount AS TotalAmount, (SI.UnitRawPrice - SI.UnitPrice) * TI.Quantity AS TotalDiscountAmount, TI.TotalTaxes AS TotalTaxAmount, MultiPark.Code AS MultiParkYesNo, ParkCombo.Code AS ParkCombo, CASE WHEN (MS.ProductType <> 2) AND (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE CASE WHEN SICC1.Amount < 0 THEN -ISNULL(SICC1.UnitAmount, 0) ELSE ISNULL(SICC1.UnitAmount, 0) END END AS CC1, CASE WHEN (MS.ProductType <> 2) AND (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE CASE WHEN SICC2.Amount < 0 THEN -ISNULL(SICC2.UnitAmount, 0) ELSE ISNULL(SICC2.UnitAmount, 0) END END AS CC2, CASE WHEN (MS.ProductType <> 2) AND (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE CASE WHEN SICC3.Amount < 0 THEN -ISNULL(SICC3.UnitAmount, 0) ELSE ISNULL(SICC3.UnitAmount, 0) END END AS CC3, CASE WHEN (MS.ProductType <> 2) AND (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE CASE WHEN SICC4.Amount < 0 THEN -ISNULL(SICC4.UnitAmount, 0) ELSE ISNULL(SICC4.UnitAmount, 0) END END AS CC4, TI.Quantity AS TicketQty, SeasonalPass.Code AS SeasonalPassYesNo, TCK.ActiveTo AS TicketExpireDate, TCK.TicketId AS TicketId, SI.TicketId ReplacedTicketId, SI.ItemTicketId VoidedTicketId, TR.Completed, TR.Siteid, TCK.VoidType, S2T.OperationType, CASE WHEN TCK.PrintDateTime IS NULL THEN TCK.FEncodeDate ELSE TCK.PrintDateTime END AS EncodeDateTime, TI.TransactionItemOperation, TI.UnitPrice, TI.UnitRecharge, RESAC.AccountAk FROM DATA_TransactionItem TI With(NoLock) INNER JOIN DATA_Transaction TR With(NoLock) ON TI.TransactionId = TR.TransactionId INNER JOIN DATA_SaleItem SI With(NoLock) ON TI.SaleItemId = SI.SaleItemId INNER JOIN CNF_Workstation WS With(NoLock) ON TR.WorkstationId = WS.WorkstationId INNER JOIN CNF_User US With(NoLock) ON TR.UserId = US.UserId INNER JOIN CNF_OperatingArea OP With(NoLock) ON TR.OperatingAreaId = OP.OperatingAreaId LEFT JOIN CNF_DmgCategory DMGOP With(NoLock) ON DMGOP.DmgCategoryId = OP.DmgCategoryId INNER JOIN CNF_Site With(NoLock) ON TR.SiteId = CNF_Site.SiteId INNER JOIN CNF_LookUp LkTRType With(NoLock) ON TR.TransactionType = LkTRType.ItemId AND LkTRType.LookUpTableId = 3 --Lookup_TransactionType INNER JOIN CNF_MatrixCell MC With(NoLock) ON SI.MatrixCellId = MC.MatrixCellId LEFT JOIN CNF_MatrixSheet MS With(NoLock) ON MS.MatrixSheetId = MC.MatrixSheetId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 4 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS MultiPark ON MultiPark.MatrixCellId = MC.MatrixCellId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 7 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS ParkCombo ON ParkCombo.MatrixCellId = MC.MatrixCellId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 1 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS SeasonalPass ON SeasonalPass.MatrixCellId = MC.MatrixCellId LEFT JOIN DATA_SaleItem2Ticket S2T With(NoLock) ON SI.SaleItemId = S2T.SaleItemId LEFT JOIN DATA_Ticket TCK With(NoLock) ON TCK.TicketId = S2T.TicketId AND TCK.VoidType IN (0, 1, 102, 107, 108, 109, 111)--, 125) --Lk_VoidType_Active, Lk_VoidType_Inactive, Lk_VoidType_VoidByEncodingStation, --Lk_VoidType_UpgradeDowngrade, Lk_VoidType_BlockUnblock, Lk_VoidType_Refund, --Lk_VoidType_Reissue, --Lk_VoidType_TransactionAbort removed --LEFT JOIN DATA_SaleItem SIOriginal With(NoLock) ON TCK.SaleItemId = SIOriginal.SaleItemId LEFT JOIN DATA_Reservation RES With(NoLock) ON TR.SaleId = RES.SaleId OR (RES.SaleId IN ( SELECT SaleId FROM DATA_Transaction2Ticket With(NoLock) INNER JOIN DATA_Transaction With(NoLock) ON DATA_Transaction2Ticket.TransactionId = DATA_Transaction.TransactionId WHERE (DATA_Transaction2Ticket.TicketId = TCK.TicketId) OR (DATA_Transaction2Ticket.TicketId = SI.TicketId)) ) LEFT JOIN DATA_Account RESAC With(NoLock) ON RES.AccountId = RESAC.AccountId LEFT JOIN CNF_DmgCategory RESDMGAC With(NoLock) ON RESDMGAC.DmgCategoryId = RESAC.DmgCategoryId LEFT JOIN DATA_SaleItem2CostCenter SICC1 With(NoLock) ON SICC1.SaleItemId = SI.SaleItemId AND SICC1.CostCenterId = 1 LEFT JOIN DATA_SaleItem2CostCenter SICC2 With(NoLock) ON SICC2.SaleItemId = SI.SaleItemId AND SICC2.CostCenterId = 2 LEFT JOIN DATA_SaleItem2CostCenter SICC3 With(NoLock) ON SICC3.SaleItemId = SI.SaleItemId AND SICC3.CostCenterId = 3 LEFT JOIN DATA_SaleItem2CostCenter SICC4 With(NoLock) ON SICC4.SaleItemId = SI.SaleItemId AND SICC4.CostCenterId = 4 OUTER APPLY ( SELECT TOP 1 PRDMGAC.DmgCategoryCode FROM DATA_TransactionItemRule TIR With(NoLock) LEFT JOIN CNF_PromotionItemRule PRIR With(NoLock) ON PRIR.PromotionItemRuleId = TIR.PromotionItemRuleId LEFT JOIN CNF_PromotionItem PRI With(NoLock) ON PRI.PromotionItemId = PRIR.PromotionItemId LEFT JOIN CNF_Promotion PR With(NoLock) ON PR.PromotionId = PRI.PromotionId LEFT JOIN CNF_DmgCategory PRDMGAC With(NoLock) ON PRDMGAC.DmgCategoryId = PR.DmgCategoryId WHERE TIR.ItemId = TI.ItemId ) as Promo WHERE TR.TransactionType = 4 --Lk_TransactionType_Reissue | ||
| Idx | Column Name | Data Type |
| SaleItemId | int | |
| TicketSaleItemId | int | |
| Quantity | int | |
| ProductType | smallint | |
| TransactionId | int | |
| SaleId | int | |
| SiteCode | varchar(3) | |
| TransactionAK | varchar(32) | |
| ItemId | int | |
| TransactionDate | datetime | |
| WorkstationAK | varchar(32) | |
| UserCode | nvarchar(100) | |
| AreaCode | nvarchar(20) | |
| ActionType | nvarchar(160) | |
| TicketUniqueId | int | |
| ProductCode | nvarchar(64) | |
| AccountCode | int | |
| ReservationCode | varchar(32) | |
| TransactionType | nvarchar(20) | |
| AccountDMG | nvarchar(20) | |
| PromoCategory | nvarchar(20) | |
| GrossAmount | float(8) | |
| Amount | float(8) | |
| DiscountAmount | float(8) | |
| TaxAmount | float(8) | |
| UnitGrossAmount | float(8) | |
| UnitAmount | float(8) | |
| UnitDiscountAmount | float(8) | |
| UnitTaxAmount | float(8) | |
| TotalGrossAmount | float(8) | |
| TotalAmount | float(8) | |
| TotalDiscountAmount | float(8) | |
| TotalTaxAmount | float(8) | |
| MultiParkYesNo | varchar(10) | |
| ParkCombo | varchar(10) | |
| CC1 | float(8) | |
| CC2 | float(8) | |
| CC3 | float(8) | |
| CC4 | float(8) | |
| TicketQty | smallint | |
| SeasonalPassYesNo | varchar(10) | |
| TicketExpireDate | datetime | |
| TicketId | int | |
| ReplacedTicketId | int | |
| VoidedTicketId | int | |
| Completed | smallint | |
| Siteid | int | |
| VoidType | smallint | |
| OperationType | smallint | |
| EncodeDateTime | datetime | |
| TransactionItemOperation | smallint | |
| UnitPrice | float(8) | |
| UnitRecharge | float(8) | |
| AccountAk | varchar(32) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:25 Script Version: 1 ******/ CREATE VIEW [dbo].[ExportTicketUsages] as SELECT TCK.FirstUsageId, TU.FUsageDate, TU.UsageType, --lkUT.Description AS UsageType, --MC_Type.OptionValue AS CardActionType, MS.ProductType, S.SiteId, S.SiteCode, TR.TransactionAK, TR.SaleId, TU.UsageId, TU.UsageDate, WS.WorkstationAK, 'SYSTEM' AS UserCode, OP.AreaCode, ISNULL(lkUT.Description, '') + ' ' + ISNULL(MC_Type.OptionValue, '') AS ActionType, MC.MatrixCellId AS TicketUniqueId, MC.Code AS ProductCode, MI.IdentifierCode, RESAC.AccountId AS AccountCode, RES.ReservationAK AS ReservationCode, DMGOP.DmgCategoryCode AS TransactionType, RESDMGAC.DmgCategoryCode AS AccountDMG, Promo.DmgCategoryCode AS PromoCategory, (SI.UnitRawPrice) AS GrossAmount, (SI.UnitPrice) AS Amount, (SI.UnitRawPrice - SI.UnitPrice) DiscountAmount, (SI.UnitTaxes) TaxAmount, (SI.UnitRawPrice * SI.Quantity) AS TotalGrossAmount, (SI.TotalAmount) AS TotalAmount, (SI.UnitRawPrice - SI.UnitPrice) * SI.Quantity AS TotalDiscountAmount, (SI.TotalTaxes) AS TotalTaxAmount, MultiPark.Code AS MultiParkYesNo, ParkCombo.Code AS ParkCombo, CASE WHEN SICC1.Amount < 0 THEN -ISNULL(SICC1.UnitAmount, 0) ELSE ISNULL(SICC1.UnitAmount, 0) END AS CC1, CASE WHEN SICC2.Amount < 0 THEN -ISNULL(SICC2.UnitAmount, 0) ELSE ISNULL(SICC2.UnitAmount, 0) END AS CC2, CASE WHEN SICC3.Amount < 0 THEN -ISNULL(SICC3.UnitAmount, 0) ELSE ISNULL(SICC3.UnitAmount, 0) END AS CC3, CASE WHEN SICC4.Amount < 0 THEN -ISNULL(SICC4.UnitAmount, 0) ELSE ISNULL(SICC4.UnitAmount, 0) END AS CC4, 1 AS TicketQty, SeasonalPass.Code AS SeasonalPassYesNo, TCK.ActiveTo AS TicketExpireDate, TCK.TicketId, NULL AS ReplacedTicketId, TCK.Serial, MC_Amount.OptionValue AS StoredValue, TU.ValidateResult FROM DATA_TicketUsage AS TU With(NoLock) INNER JOIN DATA_MediaIdentifier AS MI With(NoLock) ON MI.MediaIdentifierId = TU.MediaIdentifierId INNER JOIN CNF_Workstation AS WS With(NoLock) ON TU.WorkstationId = WS.WorkstationId INNER JOIN CNF_OperatingArea AS OP With(NoLock) ON WS.OperatingAreaId = OP.OperatingAreaId LEFT JOIN CNF_DmgCategory DMGOP With(NoLock) ON DMGOP.DmgCategoryId = OP.DmgCategoryId INNER JOIN CNF_Site AS S With(NoLock) ON WS.SiteId = S.SiteId --INNER JOIN ( SELECT -- MIN(UsageId) AS usageid, -- TicketId, -- SiteId -- FROM -- DATA_TicketUsage -- INNER JOIN CNF_Workstation With(NoLock) ON CNF_Workstation.WorkstationId = DATA_TicketUsage.WorkstationId -- WHERE -- DATA_TicketUsage.UsageType = 1 --Lk_TicketUsageType_Entry -- GROUP BY -- TicketId, -- SiteId) AS FTU ON FTU.TicketId = TU.TicketId -- AND FTU.SiteId = Ws.SiteId INNER JOIN DATA_Ticket AS TCK With(NoLock) ON TU.TicketId = TCK.TicketId INNER JOIN DATA_Transaction2Ticket AS T2T With(NoLock) ON TCK.TicketId = T2T.TicketId AND T2T.OperationType = 1 --Lk_TicketOperationType_Create INNER JOIN DATA_Transaction AS TR With(NoLock) ON T2T.TransactionId = TR.TransactionId INNER JOIN CNF_MatrixCell AS MC With(NoLock) ON TCK.MatrixCellId = MC.MatrixCellId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 4 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS MultiPark ON MultiPark.MatrixCellId = MC.MatrixCellId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 7 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS ParkCombo ON ParkCombo.MatrixCellId = MC.MatrixCellId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 1 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS SeasonalPass ON SeasonalPass.MatrixCellId = MC.MatrixCellId INNER JOIN CNF_MatrixSheet AS MS With(NoLock) ON MC.MatrixSheetId = MS.MatrixSheetId LEFT JOIN CNF_LookUp AS lkUT With(NoLock) ON TU.UsageType = lkUT.ItemId AND lkUT.LookUpTableId = 69 --Lookup_TicketUsageType LEFT JOIN DATA_Reservation AS RES With(NoLock) ON TR.SaleId = RES.SaleId LEFT JOIN DATA_Account RESAC With(NoLock) ON RES.AccountId = RESAC.AccountId LEFT JOIN CNF_DmgCategory RESDMGAC With(NoLock) ON RESDMGAC.DmgCategoryId = RESAC.DmgCategoryId LEFT JOIN DATA_TicketUsageOption AS MC_Amount With(NoLock) ON TU.UsageId = MC_Amount.UsageId AND MC_Amount.OptionType = 5 --Lk_TicketUsageOption_MoneyCardAmount LEFT JOIN DATA_TicketUsageOption AS MC_Type With(NoLock) ON TU.UsageId = MC_Type.UsageId AND MC_Type.OptionType = 4 --Lk_TicketUsageOption_ProductDescription LEFT JOIN DATA_SaleItem SI With(NoLock) ON TCK.SaleItemId = SI.SaleItemId LEFT JOIN DATA_SaleItem2CostCenter SICC1 With(NoLock) ON SICC1.SaleItemId = SI.SaleItemId AND SICC1.CostCenterId = 1 LEFT JOIN DATA_SaleItem2CostCenter SICC2 With(NoLock) ON SICC2.SaleItemId = SI.SaleItemId AND SICC2.CostCenterId = 2 LEFT JOIN DATA_SaleItem2CostCenter SICC3 With(NoLock) ON SICC3.SaleItemId = SI.SaleItemId AND SICC3.CostCenterId = 3 LEFT JOIN DATA_SaleItem2CostCenter SICC4 With(NoLock) ON SICC4.SaleItemId = SI.SaleItemId AND SICC4.CostCenterId = 4 OUTER APPLY ( SELECT TOP 1 PRDMGAC.DmgCategoryCode FROM DATA_SaleItemRule SIR With(NoLock) LEFT JOIN CNF_PromotionItemRule PRIR With(NoLock) ON PRIR.PromotionItemRuleId = SIR.PromotionItemRuleId LEFT JOIN CNF_PromotionItem PRI With(NoLock) ON PRI.PromotionItemId = PRIR.PromotionItemId LEFT JOIN CNF_Promotion PR With(NoLock) ON PR.PromotionId = PRI.PromotionId LEFT JOIN CNF_DmgCategory PRDMGAC With(NoLock) ON PRDMGAC.DmgCategoryId = PR.DmgCategoryId WHERE SIR.SaleItemId = SI.SaleItemId ) as Promo WHERE (TU.ValidateResult < 99) AND (TCK.VoidType not in (107, 111)) --Lk_VoidType_UpgradeDowngrade, Lk_VoidType_Reissue | ||
| Idx | Column Name | Data Type |
| FirstUsageId | int | |
| FUsageDate | datetime | |
| UsageType | smallint | |
| ProductType | smallint | |
| SiteId | int | |
| SiteCode | varchar(3) | |
| TransactionAK | varchar(32) | |
| SaleId | int | |
| UsageId | int | |
| UsageDate | datetime | |
| WorkstationAK | varchar(32) | |
| UserCode | varchar(6) | |
| AreaCode | nvarchar(20) | |
| ActionType | nvarchar(562) | |
| TicketUniqueId | int | |
| ProductCode | nvarchar(64) | |
| IdentifierCode | varchar(400) | |
| AccountCode | int | |
| ReservationCode | varchar(32) | |
| TransactionType | nvarchar(20) | |
| AccountDMG | nvarchar(20) | |
| PromoCategory | nvarchar(20) | |
| GrossAmount | float(8) | |
| Amount | float(8) | |
| DiscountAmount | float(8) | |
| TaxAmount | float(8) | |
| TotalGrossAmount | float(8) | |
| TotalAmount | float(8) | |
| TotalDiscountAmount | float(8) | |
| TotalTaxAmount | float(8) | |
| MultiParkYesNo | varchar(10) | |
| ParkCombo | varchar(10) | |
| CC1 | float(8) | |
| CC2 | float(8) | |
| CC3 | float(8) | |
| CC4 | float(8) | |
| TicketQty | int | |
| SeasonalPassYesNo | varchar(10) | |
| TicketExpireDate | datetime | |
| TicketId | int | |
| ReplacedTicketId | int | |
| Serial | int | |
| StoredValue | nvarchar(400) | |
| ValidateResult | smallint | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:24 Script Version: 1 ******/ CREATE VIEW [dbo].[ExportTransactionItems] AS SELECT SI.SaleItemId, TCK.SaleItemId AS TicketSaleItemId, ABS(TI.Quantity) AS Quantity, TI.ProductType, TR.TransactionId, --TR.TransactionType, TR.SaleId, CNF_Site.SiteCode, TR.TransactionAK, TI.ItemId, TR.TransactionDate, WS.WorkstationAK, US.UserCode, OP.AreaCode, LkTRType.Description AS ActionType, --TransactionTypeDesc, SI.MatrixCellId AS TicketUniqueId, MC.Code AS ProductCode, --identifiercode --StoredValue RESAC.AccountId AS AccountCode, RES.ReservationAK AS ReservationCode, DMGOP.DmgCategoryCode AS TransactionType, RESDMGAC.DmgCategoryCode AS AccountDMG, Promo.DmgCategoryCode AS PromoCategory, CASE WHEN (MS.ProductType = 2) THEN (SI.UnitRawPrice * TI.Quantity) ELSE --(SI.UnitRawPrice * TI.TransactionItemOperation) CASE WHEN (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE (SI.UnitRawPrice * TI.TransactionItemOperation) END END AS GrossAmount, CASE WHEN (MS.ProductType = 2) THEN (TI.TotalAmount) ELSE --(SI.UnitPrice * TI.TransactionItemOperation) CASE WHEN (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE (SI.UnitPrice * TI.TransactionItemOperation) END END AS Amount, CASE WHEN (MS.ProductType = 2) THEN ((SI.UnitRawPrice - SI.UnitPrice) * TI.Quantity) ELSE --((SI.UnitRawPrice - SI.UnitPrice) * TI.TransactionItemOperation) CASE WHEN (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE ((SI.UnitRawPrice - SI.UnitPrice) * TI.TransactionItemOperation) END END AS DiscountAmount, CASE WHEN (MS.ProductType = 2) THEN (TI.TotalTaxes) ELSE --(TI.UnitTaxes * TI.TransactionItemOperation) CASE WHEN (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE (TI.UnitTaxes * TI.TransactionItemOperation) END END AS TaxAmount, SI.UnitRawPrice * TI.TransactionItemOperation AS UnitGrossAmount, TI.UnitPrice * TI.TransactionItemOperation AS UnitAmount, (SI.UnitRawPrice - SI.UnitPrice) * TI.TransactionItemOperation AS UnitDiscountAmount, TI.UnitTaxes * TI.TransactionItemOperation AS UnitTaxAmount, (SI.UnitRawPrice * TI.Quantity) AS TotalGrossAmount, TI.TotalAmount AS TotalAmount, (SI.UnitRawPrice - SI.UnitPrice) * TI.Quantity AS TotalDiscountAmount, TI.TotalTaxes AS TotalTaxAmount, MultiPark.Code AS MultiParkYesNo, ParkCombo.Code AS ParkCombo, CASE WHEN (MS.ProductType <> 2) AND (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE CASE WHEN SICC1.Amount < 0 THEN -ISNULL(SICC1.UnitAmount, 0) ELSE ISNULL(SICC1.UnitAmount, 0) END END AS CC1, CASE WHEN (MS.ProductType <> 2) AND (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE CASE WHEN SICC2.Amount < 0 THEN -ISNULL(SICC2.UnitAmount, 0) ELSE ISNULL(SICC2.UnitAmount, 0) END END AS CC2, CASE WHEN (MS.ProductType <> 2) AND (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE CASE WHEN SICC3.Amount < 0 THEN -ISNULL(SICC3.UnitAmount, 0) ELSE ISNULL(SICC3.UnitAmount, 0) END END AS CC3, CASE WHEN (MS.ProductType <> 2) AND (TR.TransactionType <> 30) AND (TCK.TicketId IS NULL) THEN 0 ELSE CASE WHEN SICC4.Amount < 0 THEN -ISNULL(SICC4.UnitAmount, 0) ELSE ISNULL(SICC4.UnitAmount, 0) END END AS CC4, TI.Quantity AS TicketQty, SeasonalPass.Code AS SeasonalPassYesNo, TCK.ActiveTo AS TicketExpireDate, TCK.TicketId AS TicketId, SI.TicketId ReplacedTicketId, TR.Completed, TR.Siteid, TCK.VoidType, S2T.OperationType, CASE WHEN TCK.PrintDateTime IS NULL THEN TCK.FEncodeDate ELSE TCK.PrintDateTime END AS EncodeDateTime, TI.TransactionItemOperation, TI.UnitPrice, TI.UnitRecharge, RESAC.AccountAk FROM DATA_TransactionItem TI With(NoLock) INNER JOIN DATA_Transaction TR With(NoLock) ON TI.TransactionId = TR.TransactionId INNER JOIN DATA_SaleItem SI With(NoLock) ON TI.SaleItemId = SI.SaleItemId INNER JOIN CNF_Workstation WS With(NoLock) ON TR.WorkstationId = WS.WorkstationId INNER JOIN CNF_User US With(NoLock) ON TR.UserId = US.UserId INNER JOIN CNF_OperatingArea OP With(NoLock) ON TR.OperatingAreaId = OP.OperatingAreaId LEFT JOIN CNF_DmgCategory DMGOP With(NoLock) ON DMGOP.DmgCategoryId = OP.DmgCategoryId INNER JOIN CNF_Site With(NoLock) ON TR.SiteId = CNF_Site.SiteId INNER JOIN CNF_LookUp LkTRType With(NoLock) ON TR.TransactionType = LkTRType.ItemId AND LkTRType.LookUpTableId = 3 --Lookup_TransactionType INNER JOIN CNF_MatrixCell MC With(NoLock) ON SI.MatrixCellId = MC.MatrixCellId LEFT JOIN CNF_MatrixSheet MS With(NoLock) ON MS.MatrixSheetId = MC.MatrixSheetId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 4 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS MultiPark ON MultiPark.MatrixCellId = MC.MatrixCellId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 7 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS ParkCombo ON ParkCombo.MatrixCellId = MC.MatrixCellId LEFT JOIN (SELECT SG.StatisticalGroupCode as Code, SGV.MatrixCellId FROM CNF_StatisticalGroupValidity SGV With(NoLock) INNER JOIN CNF_StatisticalGroup SG With(NoLock) ON SG.ParentId = 1 AND SG.StatisticalGroupId = SGV.StatisticalGroupId) AS SeasonalPass ON SeasonalPass.MatrixCellId = MC.MatrixCellId LEFT JOIN DATA_SaleItem2Ticket S2T With(NoLock) ON SI.SaleItemId = S2T.SaleItemId LEFT JOIN DATA_Ticket TCK With(NoLock) ON TCK.TicketId = S2T.TicketId AND TCK.VoidType IN (0, 1, 102, 107, 108, 109, 111)--, 125) --Lk_VoidType_Active, Lk_VoidType_Inactive, Lk_VoidType_VoidByEncodingStation, --Lk_VoidType_UpgradeDowngrade, Lk_VoidType_BlockUnblock, Lk_VoidType_Refund, --Lk_VoidType_Reissue, --Lk_VoidType_TransactionAbort removed --LEFT JOIN DATA_SaleItem SIOriginal With(NoLock) ON TCK.SaleItemId = SIOriginal.SaleItemId LEFT JOIN DATA_Reservation RES With(NoLock) ON TR.SaleId = RES.SaleId OR (RES.SaleId IN ( SELECT SaleId FROM DATA_Transaction2Ticket With(NoLock) INNER JOIN DATA_Transaction With(NoLock) ON DATA_Transaction2Ticket.TransactionId = DATA_Transaction.TransactionId WHERE DATA_Transaction2Ticket.TicketId = TCK.TicketId)) LEFT JOIN DATA_Account RESAC With(NoLock) ON RES.AccountId = RESAC.AccountId LEFT JOIN CNF_DmgCategory RESDMGAC With(NoLock) ON RESDMGAC.DmgCategoryId = RESAC.DmgCategoryId LEFT JOIN DATA_SaleItem2CostCenter SICC1 With(NoLock) ON SICC1.SaleItemId = SI.SaleItemId AND SICC1.CostCenterId = 1 LEFT JOIN DATA_SaleItem2CostCenter SICC2 With(NoLock) ON SICC2.SaleItemId = SI.SaleItemId AND SICC2.CostCenterId = 2 LEFT JOIN DATA_SaleItem2CostCenter SICC3 With(NoLock) ON SICC3.SaleItemId = SI.SaleItemId AND SICC3.CostCenterId = 3 LEFT JOIN DATA_SaleItem2CostCenter SICC4 With(NoLock) ON SICC4.SaleItemId = SI.SaleItemId AND SICC4.CostCenterId = 4 OUTER APPLY ( SELECT TOP 1 PRDMGAC.DmgCategoryCode FROM DATA_TransactionItemRule TIR With(NoLock) LEFT JOIN CNF_PromotionItemRule PRIR With(NoLock) ON PRIR.PromotionItemRuleId = TIR.PromotionItemRuleId LEFT JOIN CNF_PromotionItem PRI With(NoLock) ON PRI.PromotionItemId = PRIR.PromotionItemId LEFT JOIN CNF_Promotion PR With(NoLock) ON PR.PromotionId = PRI.PromotionId LEFT JOIN CNF_DmgCategory PRDMGAC With(NoLock) ON PRDMGAC.DmgCategoryId = PR.DmgCategoryId WHERE TIR.ItemId = TI.ItemId ) as Promo WHERE TR.TransactionType <> 4 --Lk_TransactionType_Reissue | ||
| Idx | Column Name | Data Type |
| SaleItemId | int | |
| TicketSaleItemId | int | |
| Quantity | int | |
| ProductType | smallint | |
| TransactionId | int | |
| SaleId | int | |
| SiteCode | varchar(3) | |
| TransactionAK | varchar(32) | |
| ItemId | int | |
| TransactionDate | datetime | |
| WorkstationAK | varchar(32) | |
| UserCode | nvarchar(100) | |
| AreaCode | nvarchar(20) | |
| ActionType | nvarchar(160) | |
| TicketUniqueId | int | |
| ProductCode | nvarchar(64) | |
| AccountCode | int | |
| ReservationCode | varchar(32) | |
| TransactionType | nvarchar(20) | |
| AccountDMG | nvarchar(20) | |
| PromoCategory | nvarchar(20) | |
| GrossAmount | float(8) | |
| Amount | float(8) | |
| DiscountAmount | float(8) | |
| TaxAmount | float(8) | |
| UnitGrossAmount | float(8) | |
| UnitAmount | float(8) | |
| UnitDiscountAmount | float(8) | |
| UnitTaxAmount | float(8) | |
| TotalGrossAmount | float(8) | |
| TotalAmount | float(8) | |
| TotalDiscountAmount | float(8) | |
| TotalTaxAmount | float(8) | |
| MultiParkYesNo | varchar(10) | |
| ParkCombo | varchar(10) | |
| CC1 | float(8) | |
| CC2 | float(8) | |
| CC3 | float(8) | |
| CC4 | float(8) | |
| TicketQty | smallint | |
| SeasonalPassYesNo | varchar(10) | |
| TicketExpireDate | datetime | |
| TicketId | int | |
| ReplacedTicketId | int | |
| Completed | smallint | |
| Siteid | int | |
| VoidType | smallint | |
| OperationType | smallint | |
| EncodeDateTime | datetime | |
| TransactionItemOperation | smallint | |
| UnitPrice | float(8) | |
| UnitRecharge | float(8) | |
| AccountAk | varchar(32) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:26 Script Version: 1 ******/ CREATE VIEW [dbo].[ExportTransactionPayments] AS SELECT SI.SiteCode, TR.TransactionAk, TR.SaleId, PAY.PaymentId, PAY.FPaymentDate, WS.WorkstationAK, US.UserCode, OP.AreaCode, LkTRType.Description as TransactionTypeDesc, PM.Description as PaymentMethodDesc, CNFPAYC.CCName, PAYC.AuthorizationCode, PAYC.DevResponseCode, PAY.PaymentAmount, TR.Revenue as TransactionAmount, CASE WHEN PAYCR.PaymentId > 0 THEN 'TRUE' ELSE 'FALSE' END as CREDIT, TR.TransactionId, TR.Completed, TR.Encoded, TR.Items, TR.TransactionType, PAY.PaymentType, LkPAYType.Description as PaymentTypeDesc, CUR.ISOCode, PAY.ExchangeRate, AC.AccountId, AC.AccountAk, DMGAC.DmgCategoryCode AccountDMG, V.VoucherCode, RES.ReservationAK, RES_AC.AccountId RES_AccountId, RES_AC.AccountAk RES_AccountAk, RES_DMGAC.DmgCategoryCode RES_AccountDMG, DEBT.PaymentId DEBT_ID, DEBT_RES.ReservationAK DEBT_ReservationAK, DEBT_V.VoucherCode DEBT_VoucherCode, DEBT_AC.AccountId DEBT_AccountId, DEBT_AC.AccountAk DEBT_AccountAk, DEBT_DMGAC.DmgCategoryCode DEBT_AccountDMG, V_AC.AccountId V_AccountId, V_AC.AccountAk V_AccountAk, V_DMGAC.DmgCategoryCode V_AccountDMG, TR.FTransactionDate, TR.SiteId FROM DATA_Payment PAY With(NoLock) INNER JOIN DATA_Transaction TR With(NoLock) ON TR.TransactionId = PAY.TransactionId INNER JOIN CNF_PaymentMethod PM With(NoLock) ON PAY.PaymentMethodId = PM.PaymentMethodId INNER JOIN CNF_Workstation WS With(NoLock) ON TR.WorkstationId = WS.WorkstationId INNER JOIN CNF_User US With(NoLock) ON TR.UserId = US.UserId INNER JOIN CNF_OperatingArea OP With(NoLock) ON TR.OperatingAreaId = OP.OperatingAreaId INNER JOIN CNF_Site SI With(NoLock) ON TR.SiteId = SI.SiteId INNER JOIN CNF_LookUp LkTRType With(NoLock) ON TR.TransactionType = LkTRType.ItemId AND LkTRType.LookUpTableId = 3 INNER JOIN CNF_LookUp LkPAYType With(NoLock) ON PAY.PaymentType = LkPAYType.ItemId AND LkPAYType.LookUpTableId = 7 LEFT OUTER JOIN DATA_PaymentCard PAYC With(NoLock) ON PAY.PaymentId = PAYC.PaymentId LEFT OUTER JOIN CNF_PaymentCard CNFPAYC With(NoLock) ON PAYC.PaymentCardId = CNFPAYC.PaymentCardId LEFT OUTER JOIN DATA_PaymentCredit PAYCR With(NoLock) ON PAY.PaymentId = PAYCR.PaymentId LEFT OUTER JOIN DATA_Account AC With(NoLock) ON PAYCR.AccountId = AC.AccountId left outer join CNF_DmgCategory DMGAC With(NoLock) ON DMGAC.DmgCategoryId = AC.DmgCategoryId LEFT OUTER JOIN DATA_Voucher V With(NoLock) ON PAYCR.EntityId = V.VoucherId AND PAYCR.EntityTable = 186 LEFT OUTER JOIN DATA_Account V_AC With(NoLock) ON V.AccountId = V_AC.AccountId LEFT OUTER JOIN CNF_DmgCategory V_DMGAC With(NoLock) ON V_DMGAC.DmgCategoryId = V_AC.DmgCategoryId LEFT OUTER JOIN DATA_Reservation RES With(NoLock) ON TR.SaleId = RES.SaleId LEFT OUTER JOIN DATA_Account RES_AC With(NoLock) ON RES.AccountId = RES_AC.AccountId LEFT OUTER JOIN CNF_DmgCategory RES_DMGAC With(NoLock) ON RES_DMGAC.DmgCategoryId = RES_AC.DmgCategoryId LEFT OUTER JOIN DATA_PaymentCredit DEBT With(NoLock) ON PAY.TransactionId = DEBT.SettleTransactionId LEFT OUTER JOIN DATA_Account DEBT_AC With(NoLock) ON DEBT.AccountId = DEBT_AC.AccountId LEFT OUTER JOIN CNF_DmgCategory DEBT_DMGAC With(NoLock) ON DEBT_DMGAC.DmgCategoryId = DEBT_AC.DmgCategoryId LEFT OUTER JOIN DATA_Voucher DEBT_V With(NoLock) ON DEBT.EntityId = DEBT_V.VoucherId AND DEBT.EntityTable = 186 LEFT OUTER JOIN DATA_Payment DEBT_PAY With(NoLock) ON DEBT.PaymentId = DEBT_PAY.PaymentId LEFT OUTER JOIN DATA_Transaction DEBT_TR With(NoLock) ON DEBT_PAY.TransactionId = DEBT_TR.TransactionId LEFT OUTER JOIN DATA_Reservation DEBT_RES With(NoLock) ON DEBT_TR.SaleId = DEBT_RES.SaleId INNER JOIN CNF_Currency CUR With(NoLock) ON PAY.CurrencyId = CUR.CurrencyId WHERE (DEBT_TR.TransactionType <> 22 OR DEBT_TR.TransactionType IS NULL) --Lk_TransactionType_VoidTransaction AND PAY.PaymentStatus = 1 --Lk_PaymentStatus_Approved | ||
| Idx | Column Name | Data Type |
| SiteCode | varchar(3) | |
| TransactionAk | varchar(32) | |
| SaleId | int | |
| PaymentId | int | |
| FPaymentDate | datetime | |
| WorkstationAK | varchar(32) | |
| UserCode | nvarchar(100) | |
| AreaCode | nvarchar(20) | |
| TransactionTypeDesc | nvarchar(160) | |
| PaymentMethodDesc | nvarchar(100) | |
| CCName | nvarchar(100) | |
| AuthorizationCode | varchar(20) | |
| DevResponseCode | varchar(5) | |
| PaymentAmount | float(8) | |
| TransactionAmount | float(8) | |
| CREDIT | varchar(5) | |
| TransactionId | int | |
| Completed | smallint | |
| Encoded | smallint | |
| Items | int | |
| TransactionType | smallint | |
| PaymentType | smallint | |
| PaymentTypeDesc | nvarchar(160) | |
| ISOCode | varchar(3) | |
| ExchangeRate | float(8) | |
| AccountId | int | |
| AccountAk | varchar(32) | |
| AccountDMG | nvarchar(20) | |
| VoucherCode | nvarchar(80) | |
| ReservationAK | varchar(32) | |
| RES_AccountId | int | |
| RES_AccountAk | varchar(32) | |
| RES_AccountDMG | nvarchar(20) | |
| DEBT_ID | int | |
| DEBT_ReservationAK | varchar(32) | |
| DEBT_VoucherCode | nvarchar(80) | |
| DEBT_AccountId | int | |
| DEBT_AccountAk | varchar(32) | |
| DEBT_AccountDMG | nvarchar(20) | |
| V_AccountId | int | |
| V_AccountAk | varchar(32) | |
| V_AccountDMG | nvarchar(20) | |
| FTransactionDate | datetime | |
| SiteId | int | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Guid | nvarchar(38) COLLATE Latin1_General_CI_AS |
| Content | varbinary(max) | |
| Indexes | ||
| PK__FM_Repos__A2B5777CBA2CEC21 | Primary Key ON Guid | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ItemId | int IDENTITY |
| Guid | nvarchar(38) COLLATE Latin1_General_CI_AS | |
| Ext | nvarchar(6) COLLATE Latin1_General_CI_AS | |
| Description | varchar(50) COLLATE Latin1_General_CI_AS | |
| Name | varchar(25) COLLATE Latin1_General_CI_AS | |
| ParentItemId | int | |
| Indexes | ||
| PK__FM_Repos__727E838BEEAAF4BF | Primary Key ON ItemId | |
| Foreign Key | ||
| FK_RepositoryItem_Parent | ParentItemId ↗ ❏ FM_RepositoryItems(ItemId) | |
| Referring Foreign Key | ||
| FK_RepositoryItem_Parent | ItemId ↙ ❏ FM_RepositoryItems(ParentItemId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MediaIdentifierId | int IDENTITY |
| * | IdentifierCode | varchar(400) COLLATE Latin1_General_CI_AS |
| ExternalCode | varchar(100) COLLATE Latin1_General_CI_AS | |
| Status | smallint | |
| Indexes | ||
| PK__IMP_Medi__C5F4E851376FB269 | Primary Key ON MediaIdentifierId | |
| Idx_IMP_MediaIdentifier_Status_ExternalCode | Index ON Status, ExternalCode | |
| Idx | Column Name | Data Type |
|---|---|---|
| PERFORMANCEKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| IMPORTED | smallint | |
| ERROR | smallint | |
| ERRORMESSAGE | varchar(200) COLLATE Latin1_General_CI_AS | |
| BOSID | int | |
| DATE | datetime | |
| STARTTIME | datetime | |
| ENDTIME | datetime | |
| EVENTKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| EVENTID | int | |
| RESOURCEKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| RESOURCEID | int | |
| * | IMPORTUNIQUEKEY | uniqueidentifier DEFAULT newid() |
| Indexes | ||
| PK__IMP_PERF__D3FF6F507404B114 | Primary Key ON IMPORTUNIQUEKEY | |
| Idx | Column Name | Data Type |
|---|---|---|
| RESERVATIONKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| ACCOUNTID | int | |
| ACCOUNTKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| IMPORTED | smallint | |
| ERROR | smallint | |
| ERRORMESSAGE | varchar(200) COLLATE Latin1_General_CI_AS | |
| BOSID | int | |
| * | IMPORTUNIQUEKEY | uniqueidentifier DEFAULT newid() |
| Indexes | ||
| PK__IMP_RESE__D3FF6F501E214D0F | Primary Key ON IMPORTUNIQUEKEY | |
| Idx | Column Name | Data Type |
|---|---|---|
| RESERVATIONKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| TCKKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| PEOPLECOUNT | int | |
| IMPORTED | smallint | |
| ERROR | smallint | |
| ERRORMESSAGE | varchar(200) COLLATE Latin1_General_CI_AS | |
| PRICE | float | |
| PERFORMANCEKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| ACCOUNTID | int | |
| ACCOUNTKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| QUANTITY | int | |
| BOSID | int | |
| * | IMPORTUNIQUEKEY | uniqueidentifier DEFAULT newid() |
| Indexes | ||
| PK__IMP_RESE__D3FF6F50E6213F40 | Primary Key ON IMPORTUNIQUEKEY | |
| Idx | Column Name | Data Type |
|---|---|---|
| IMPORTED | smallint | |
| ERROR | smallint | |
| ERRORMESSAGE | varchar(200) COLLATE Latin1_General_CI_AS | |
| BOSID | int | |
| RESOURCEKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| CATEGORYKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| CATEGORYID | int | |
| FIELDDATA1 | varchar(50) COLLATE Latin1_General_CI_AS | |
| FIELDOBJ1 | int | |
| * | IMPORTUNIQUEKEY | uniqueidentifier DEFAULT newid() |
| Indexes | ||
| PK__IMP_RESO__D3FF6F50E1107ECE | Primary Key ON IMPORTUNIQUEKEY | |
| Idx | Column Name | Data Type |
|---|---|---|
| IMPORTED | smallint | |
| ERROR | smallint | |
| ERRORMESSAGE | varchar(200) COLLATE Latin1_General_CI_AS | |
| BOSID | int | |
| RESOURCEKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| RESOURCEID | int | |
| DATE | datetime | |
| FROMTIME | datetime | |
| TOTIME | datetime | |
| AVAILABILITYKEY | varchar(20) COLLATE Latin1_General_CI_AS | |
| * | IMPORTUNIQUEKEY | uniqueidentifier DEFAULT newid() |
| Indexes | ||
| PK__IMP_RESO__D3FF6F5096F9C276 | Primary Key ON IMPORTUNIQUEKEY | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductId | int |
| CodeEAN | varchar(13) COLLATE Latin1_General_CI_AS | |
| * | SupplierId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_ALU__B40CC6CD6F3CC79D | Primary Key ON ProductId | |
| Foreign Key | ||
| FK__INV_ALU__Product__0AB36FCB | ProductId ↗ ❏ INV_Item | |
| FK__INV_ALU__Supplie__0BA79404 | SupplierId ↗ ❏ INV_Supplier | |
| FK_INV_ALU_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_ALU_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DepartmentId | int IDENTITY |
| * | DepartmentAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| DeptCode | nvarchar(10) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Depa__B2079BEDBE3601E8 | Primary Key ON DepartmentId | |
| UQ__INV_Depa__B20646E5EA73B16B | Unique Key ON DepartmentAK | |
| Foreign Key | ||
| FK_INV_Department_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_Department_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__INV_Item__Depart__0C9BB83D | DepartmentId ↙ ❏ INV_Item | |
| FK__INV_Purch__Depar__16252277 | DepartmentId ↙ ❏ INV_PurchaseOrder | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductId | int |
| * | DepartmentId | int |
| * | Status | smallint |
| * | ItemType | smallint |
| LastSold | datetime | |
| * | ReorderNo | float |
| * | MaximumNo | float |
| * | RerderPoint | float |
| AvgUnitCost | float | |
| MSRP | float | |
| MarkUp | float | |
| Margin | float | |
| CodeEAN | varchar(13) COLLATE Latin1_General_CI_AS | |
| UnOrderable | smallint | |
| ShelfLife | int | |
| Discharge | float | |
| SKUMode | smallint | |
| ManualPrice | smallint | |
| PrintTag | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Item__B40CC6CDF1F722CA | Primary Key ON ProductId | |
| INV_StockUnique | Unique Index ON DepartmentId | |
| Foreign Key | ||
| FK__INV_Item__Depart__0C9BB83D | DepartmentId ↗ ❏ INV_Department | |
| FK__INV_Item__Produc__0D8FDC76 | ProductId ↗ ❏ CNF_Product | |
| FK_INV_Item_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_Item_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__INV_ALU__Product__0AB36FCB | ProductId ↙ ❏ INV_ALU | |
| FK__INV_ItemS__Produ__0E8400AF | ProductId ↙ ❏ INV_ItemStock | |
| FK__INV_Movem__Produ__106C4921 | ProductId ↙ ❏ INV_Movement | |
| FK__INV_PODet__Produ__143CDA05 | ProductId ↙ ❏ INV_PODetail | |
| FK__INV_UnitO__Produ__1CD22006 | ProductId ↙ ❏ INV_UnitOfMeasure | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StockDetailId | int IDENTITY |
| * | ProductId | int |
| * | WareHouseId | int |
| * | Date | datetime |
| * | InStock | float |
| * | CostPrice | float |
| * | Sold | float |
| * | Quantity | float |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Item__B04C17D68C4BE9B3 | Primary Key ON StockDetailId | |
| Foreign Key | ||
| FK__INV_ItemS__Produ__0E8400AF | ProductId ↗ ❏ INV_Item | |
| FK__INV_ItemS__WareH__0F7824E8 | WareHouseId ↗ ❏ INV_WareHouse | |
| FK_INV_ItemStock_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_ItemStock_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MovementId | int IDENTITY |
| * | ProductId | int |
| * | WareHouseId | int |
| * | Date | datetime |
| * | Quantity | float |
| * | MovType | smallint |
| * | TotPrice | float |
| PurchaseOrderId | int | |
| OrderType | smallint | |
| Note | text COLLATE Latin1_General_CI_AS | |
| * | SupplierId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Move__D182244649BC08F4 | Primary Key ON MovementId | |
| Foreign Key | ||
| FK__INV_Movem__Produ__106C4921 | ProductId ↗ ❏ INV_Item | |
| FK__INV_Movem__Purch__11606D5A | PurchaseOrderId ↗ ❏ INV_PurchaseOrder | |
| FK__INV_Movem__Suppl__12549193 | SupplierId ↗ ❏ INV_Supplier | |
| FK__INV_Movem__WareH__1348B5CC | WareHouseId ↗ ❏ INV_WareHouse | |
| FK_INV_Movement_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_Movement_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PODetailId | int IDENTITY |
| * | PurchaseOrderId | int |
| * | ProductId | int |
| * | OrderType | smallint |
| * | Quantity | float |
| * | StockValue | float |
| * | StockUnit | varchar(10) COLLATE Latin1_General_CI_AS |
| * | Price | float |
| * | Received | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_PODe__4EB47B3E01D51525 | Primary Key ON PODetailId | |
| Foreign Key | ||
| FK__INV_PODet__Produ__143CDA05 | ProductId ↗ ❏ INV_Item | |
| FK__INV_PODet__Purch__1530FE3E | PurchaseOrderId ↗ ❏ INV_PurchaseOrder | |
| FK_INV_PODetail_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_PODetail_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PurchaseOrderId | int IDENTITY |
| * | DestWHId | int |
| * | UserId | int |
| * | DepartmentId | int |
| * | Status | smallint |
| * | CreationDate | datetime |
| * | DeliveryDate | datetime |
| * | CancelDate | datetime |
| * | Buyer | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | Discount | float |
| * | SetUpPrice | float |
| * | OrderType | smallint |
| * | DiscountType | smallint |
| * | ShipVIA | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | Notes | text COLLATE Latin1_General_CI_AS |
| * | CancelNote | text COLLATE Latin1_General_CI_AS |
| * | SupplierId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Purc__036BACA408342789 | Primary Key ON PurchaseOrderId | |
| Foreign Key | ||
| FK__INV_Purch__Depar__16252277 | DepartmentId ↗ ❏ INV_Department | |
| FK__INV_Purch__DestW__171946B0 | DestWHId ↗ ❏ INV_WareHouse(WareHouseId) | |
| FK__INV_Purch__Suppl__180D6AE9 | SupplierId ↗ ❏ INV_Supplier | |
| FK__INV_Purch__UserI__19018F22 | UserId ↗ ❏ CNF_User | |
| FK_INV_PurchaseOrder_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_PurchaseOrder_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__INV_Movem__Purch__11606D5A | PurchaseOrderId ↙ ❏ INV_Movement | |
| FK__INV_PODet__Purch__1530FE3E | PurchaseOrderId ↙ ❏ INV_PODetail | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SupplierId | int IDENTITY |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Supp__4BE666B466010115 | Primary Key ON SupplierId | |
| Foreign Key | ||
| FK_INV_Supplier_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_Supplier_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__INV_ALU__Supplie__0BA79404 | SupplierId ↙ ❏ INV_ALU | |
| FK__INV_Movem__Suppl__12549193 | SupplierId ↙ ❏ INV_Movement | |
| FK__INV_Purch__Suppl__180D6AE9 | SupplierId ↙ ❏ INV_PurchaseOrder | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TransferId | int IDENTITY |
| * | SourceWHId | int |
| * | DestWHId | int |
| * | Status | smallint |
| * | UserId | int |
| * | CreateDate | datetime |
| * | DeliveryDate | datetime |
| * | CancelDate | datetime |
| * | RejectNote | ntext COLLATE Latin1_General_CI_AS |
| * | Note | ntext COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Tran__95490091317A5412 | Primary Key ON TransferId | |
| Foreign Key | ||
| FK__INV_Trans__DestW__19F5B35B | DestWHId ↗ ❏ INV_WareHouse(WareHouseId) | |
| FK__INV_Trans__Sourc__1AE9D794 | SourceWHId ↗ ❏ INV_WareHouse(WareHouseId) | |
| FK__INV_Trans__UserI__1BDDFBCD | UserId ↗ ❏ CNF_User | |
| FK_INV_Transfer_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_Transfer_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | UnitOfMeasureId | int IDENTITY |
| * | ProductId | int |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | IsDefault | smallint |
| * | Value | float |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Unit__F36083F15E7D77F6 | Primary Key ON UnitOfMeasureId | |
| Foreign Key | ||
| FK__INV_UnitO__Produ__1CD22006 | ProductId ↗ ❏ INV_Item | |
| FK_INV_UnitOfMeasure_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_UnitOfMeasure_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | WareHouseId | int IDENTITY |
| * | WareHouseAK | varchar(32) COLLATE Latin1_General_CI_AS |
| Name | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__INV_Ware__69FF8078B69429A0 | Primary Key ON WareHouseId | |
| UQ__INV_Ware__69FFC394B1B41840 | Unique Key ON WareHouseAK | |
| Foreign Key | ||
| FK_INV_WareHouse_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_INV_WareHouse_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK__INV_ItemS__WareH__0F7824E8 | WareHouseId ↙ ❏ INV_ItemStock | |
| FK__INV_Movem__WareH__1348B5CC | WareHouseId ↙ ❏ INV_Movement | |
| FK__INV_Purch__DestW__171946B0 | WareHouseId ↙ ❏ INV_PurchaseOrder(DestWHId) | |
| FK__INV_Trans__DestW__19F5B35B | WareHouseId ↙ ❏ INV_Transfer(DestWHId) | |
| FK__INV_Trans__Sourc__1AE9D794 | WareHouseId ↙ ❏ INV_Transfer(SourceWHId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AttachmentId | int IDENTITY |
| * | MessageId | int |
| * | CreationDate | datetime |
| * | Attachment | image |
| * | AttachmentName | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | AttachmentType | smallint |
| Note | ntext COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__MSG_CNF___442C64BE3CB1F2B4 | Primary Key ON AttachmentId | |
| IdxMSG_CNF_Attachment_MessageId | Index ON MessageId | |
| Foreign Key | ||
| Attachment_Message | MessageId ↗ ❏ MSG_CNF_Message | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MessageId | int IDENTITY |
| * | SystemId | int |
| * | WorkstationId | int |
| * | UserId | int |
| * | CreationDate | datetime |
| * | MessageType | smallint |
| * | ConfirmType | smallint |
| ValidFrom | datetime | |
| ValidTo | datetime | |
| * | MessageSubject | nvarchar(250) COLLATE Latin1_General_CI_AS |
| * | MessageText | ntext COLLATE Latin1_General_CI_AS |
| * | MessageStatus | smallint |
| * | MessageAttachment | smallint |
| Note | ntext COLLATE Latin1_General_CI_AS | |
| * | ShowType | smallint |
| * | AlertStatus | smallint DEFAULT 0 |
| * | AlertType | smallint DEFAULT 0 |
| Indexes | ||
| PK__MSG_CNF___C87C0C9C490D185E | Primary Key ON MessageId | |
| IdxMSG_CNF_Message_MessageStatus | Index ON MessageStatus | |
| IdxMSG_CNF_Message_ValidFrom | Index ON ValidFrom | |
| IdxMSG_CNF_Message_ValidTo | Index ON ValidTo | |
| Referring Foreign Key | ||
| Attachment_Message | MessageId ↙ ❏ MSG_CNF_Attachment | |
| Message2Entity_Message | MessageId ↙ ❏ MSG_CNF_Message2Entity | |
| Thread_MessageId | MessageId ↙ ❏ MSG_DATA_Thread | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Message2EntityId | int IDENTITY |
| * | MessageId | int |
| * | EntityType | smallint |
| * | EntityId | int |
| Indexes | ||
| PK__MSG_CNF___7039B3A6C4A440C2 | Primary Key ON Message2EntityId | |
| IdxMSG_CNF_Message2Entity_EntityId | Index ON EntityId | |
| IdxMSG_CNF_Message2Entity_EntityType | Index ON EntityType | |
| IdxMSG_CNF_Message2Entity_MessageId | Index ON MessageId | |
| Foreign Key | ||
| Message2Entity_Message | MessageId ↗ ❏ MSG_CNF_Message | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ThreadId | int IDENTITY |
| * | MessageId | int |
| * | SystemId | int |
| * | WorkstationId | int |
| * | UserId | int |
| * | CreationDate | datetime |
| * | ConfirmStatus | smallint |
| * | MessageText | ntext COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__MSG_DATA__688356847FB223E9 | Primary Key ON ThreadId | |
| IdxMSG_DATA_Thread_MessageId | Index ON MessageId | |
| IdxMSG_DATA_Thread_UserId | Index ON UserId | |
| Foreign Key | ||
| Thread_MessageId | MessageId ↗ ❏ MSG_CNF_Message | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformanceId | int |
| * | EventId | int |
| PriceTableId | int | |
| * | PerformanceAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | PerfDateTime | datetime |
| AccessConfigurationId | int | |
| * | Status | smallint |
| PerfTurno | varchar(10) COLLATE Latin1_General_CI_AS | |
| * | TimeOpening | int |
| * | TimeLimit | int |
| PerformanceEnd | datetime | |
| PurgeDeltaTime | datetime | |
| OnSaleFrom | datetime | |
| OnSaleUntil | datetime | |
| MoneyCardId | int | |
| MoneyCardCost | float | |
| DmgCategoryId | int | |
| PerformanceCode | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | BlockPerformance | smallint |
| MinonScreen | int | |
| PerformanceName | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | BlockPerformanceOnSale | smallint |
| * | OpeningTime | datetime |
| * | ClosingTime | datetime |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TckValidityId | int IDENTITY |
| * | IdentifierCode | varchar(30) COLLATE Latin1_General_CI_AS |
| MatrixCellId | int | |
| ValidityXML | ntext COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__OFF_TckV__D7847E587BD59466 | Primary Key ON TckValidityId | |
| Referring Foreign Key | ||
| FK__OFF_Ticke__TckVa__20A2B0EA | TckValidityId ↙ ❏ OFF_TicketUsage | |
| FK_DATA_Biometric_TckValidityId | TckValidityId ↙ ❏ DATA_Biometric | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TicketUsageId | int IDENTITY |
| * | TckValidityId | int |
| * | AccessConfigurationId | int |
| * | WorkstationId | int |
| * | GateId | int |
| PerformanceId | int | |
| * | UsageDate | datetime |
| * | UsageType | smallint |
| * | ValidateResult | smallint |
| * | Imported | int DEFAULT 0 |
| * | UsedPeopleCount | int DEFAULT 0 |
| Indexes | ||
| PK__OFF_Tick__AE199F3AFF65901D | Primary Key ON TicketUsageId | |
| Foreign Key | ||
| FK__OFF_Ticke__TckVa__20A2B0EA | TckValidityId ↗ ❏ OFF_TckValidity | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | UpdateId | int IDENTITY |
| * | LastUpdate | datetime |
| * | WorkstationId | int |
| * | UserId | int |
| Indexes | ||
| PK__OFF_Upda__7A0CF3C569A5A994 | Primary Key ON UpdateId | |
| Foreign Key | ||
| FK__OFF_Updat__UserI__2196D523 | UserId ↗ ❏ CNF_User | |
| FK__OFF_Updat__Works__228AF95C | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | WhiteListTckId | int IDENTITY |
| * | IdentifierCode | varchar(400) COLLATE Latin1_General_CI_AS |
| * | VoidType | smallint |
| MatrixCellId | int | |
| ValidityXML | ntext COLLATE Latin1_General_CI_AS | |
| * | IdentifierType | smallint DEFAULT 5 |
| * | TicketId | int DEFAULT 0 |
| ActiveFrom | datetime | |
| ActiveTo | datetime | |
| * | PeopleCount | int DEFAULT 0 |
| * | UsedPeopleCount | int DEFAULT 0 |
| Indexes | ||
| PK__OFF_Whit__C6492C969FF45C60 | Primary Key ON WhiteListTckId | |
| Idx_OFF_WhiteListTck_IdentifierCode | Index ON IdentifierCode, TicketId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | EventId | int |
| * | AllocateResource | smallint |
| * | AllocateResourceOnSale | smallint |
| * | SellWithoutResource | smallint |
| SellWithoutResourceLimit | int | |
| RequirementTemplateId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| RequireSO | smallint | |
| Indexes | ||
| PK__RES_CNF___7944C810B3BEC1F0 | Primary Key ON EventId | |
| Foreign Key | ||
| FK_RES_CNF_Event_CNF_Event | EventId ↗ ❏ CNF_Event | |
| FK_RES_CNF_Event_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_Event_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_RES_CNF_Event_RequirementTempale | RequirementTemplateId ↗ ❏ RES_CNF_RequirementTemplate | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCellId | int |
| * | UseQtyInSchedule | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___2E3986A52CA0A388 | Primary Key ON MatrixCellId | |
| Foreign Key | ||
| CNF_MatrixCell_CNF_RES_MatrixCell | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_RES_CNF_MatrixCell_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_MatrixCell_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformanceId | int |
| * | Allocated | smallint |
| RequirementTemplateId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___F9606E01C66A463E | Primary Key ON PerformanceId | |
| Foreign Key | ||
| FK_RES_CNF_Performance_CNF_Performance | PerformanceId ↗ ❏ CNF_Performance | |
| FK_RES_CNF_Performance_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_Performance_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkPerformance_RequirementTemplate | RequirementTemplateId ↗ ❏ RES_CNF_RequirementTemplate | |
| Referring Foreign Key | ||
| FK_RES_ScheduleDetail_Performance | PerformanceId ↙ ❏ RES_ScheduleDetail | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RequirementId | int IDENTITY |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Exclusive | smallint DEFAULT 0 |
| RequirementTypeId | int | |
| AllocateOnCreation | smallint DEFAULT 0 | |
| MinutesBeforePerf | int DEFAULT 0 | |
| MinutesAfterPerf | int DEFAULT 0 | |
| NotWhilePerformance | smallint DEFAULT 0 | |
| CreatedBySystem | smallint | |
| OrigRequirementId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Note | varchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__RES_CNF___7DF11E5DC33E2D77 | Primary Key ON RequirementId | |
| Foreign Key | ||
| FK_RES_CNF_Requirement_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_Requirement_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkRequirementType_Requirement | RequirementTypeId ↗ ❏ RES_CNF_RequirementType | |
| RES_CNF_Requirement_OrigRequirementId | OrigRequirementId ↗ ❏ RES_CNF_Requirement(RequirementId) | |
| Referring Foreign Key | ||
| RES_CNF_Requirement_OrigRequirementId | RequirementId ↙ ❏ RES_CNF_Requirement(OrigRequirementId) | |
| fkRequirement_Child | RequirementId ↙ ❏ RES_CNF_RequirementGroup(ChildRequirementId) | |
| fkRequirement_Master | RequirementId ↙ ❏ RES_CNF_RequirementGroup(MasterRequirementId) | |
| FK_RequirementTemplateItem_Requirement | RequirementId ↙ ❏ RES_CNF_RequirementTemplateItem | |
| ResourceRequirement_Requirement | RequirementId ↙ ❏ RES_CNF_ResourceRequirement | |
| ResourceType_Requirement_Requirement | RequirementId ↙ ❏ RES_CNF_ResourceType_Requirement | |
| FK_RES_ScheduleDetail_Requirement | RequirementId ↙ ❏ RES_ScheduleDetail | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RequirementGroupId | int IDENTITY |
| RequirementTypeId | int | |
| * | MasterRequirementId | int |
| ChildRequirementId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___0DC9AF9240AC5776 | Primary Key ON RequirementGroupId | |
| Foreign Key | ||
| FK_RES_CNF_RequirementGroup_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_RequirementGroup_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkRequirement_Child | ChildRequirementId ↗ ❏ RES_CNF_Requirement(RequirementId) | |
| fkRequirement_Master | MasterRequirementId ↗ ❏ RES_CNF_Requirement(RequirementId) | |
| fkRequirementType_Group | RequirementTypeId ↗ ❏ RES_CNF_RequirementType | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RequirementTemplateId | int IDENTITY |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| CreatedBySystem | smallint | |
| DefaultRequirementTemplateId | int | |
| OrigRequirementTemplateId | int | |
| * | DuplicateResourceAllowed | smallint DEFAULT 0 |
| * | SetUpPerformanceName | smallint DEFAULT 0 |
| DmgCategoryId | int | |
| * | RequirementAK | nvarchar(32) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Note | varchar(max) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__RES_CNF___AC117AA504414295 | Primary Key ON RequirementTemplateId | |
| Foreign Key | ||
| FK__RES_CNF_R__DmgCa__30A40E89 | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| FK_RES_CNF_RequirementTemplate_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_RequirementTemplate_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| RES_CNF_RequirementTemplate_DefaultRequirementTemplate | DefaultRequirementTemplateId ↗ ❏ RES_CNF_RequirementTemplate(RequirementTemplateId) | |
| RES_CNF_RequirementTemplate_OrigRequirementTemplateId | OrigRequirementTemplateId ↗ ❏ RES_CNF_RequirementTemplate(RequirementTemplateId) | |
| Referring Foreign Key | ||
| FK_RES_CNF_Event_RequirementTempale | RequirementTemplateId ↙ ❏ RES_CNF_Event | |
| fkPerformance_RequirementTemplate | RequirementTemplateId ↙ ❏ RES_CNF_Performance | |
| RES_CNF_RequirementTemplate_DefaultRequirementTemplate | RequirementTemplateId ↙ ❏ RES_CNF_RequirementTemplate(DefaultRequirementTemplateId) | |
| RES_CNF_RequirementTemplate_OrigRequirementTemplateId | RequirementTemplateId ↙ ❏ RES_CNF_RequirementTemplate(OrigRequirementTemplateId) | |
| FK_RequirementTemplateItem_RequirementTemplate | RequirementTemplateId ↙ ❏ RES_CNF_RequirementTemplateItem | |
| fkRequirementTemplateSetChild | RequirementTemplateId ↙ ❏ RES_CNF_RequirementTemplateSet(RequirementTemplateChildId) | |
| fkRequirementTemplateSetMaster | RequirementTemplateId ↙ ❏ RES_CNF_RequirementTemplateSet(RequirementTemplateMasterId) | |
| FKResourcePriority_Template | RequirementTemplateId ↙ ❏ RES_CNF_ResourcePriority | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RequirementTemplateItemId | int IDENTITY |
| * | RequirementTemplateId | int |
| RequirementId | int | |
| QtyFromSale | smallint DEFAULT 0 | |
| Quantity | int | |
| RequirementTypeId | int | |
| * | Active | smallint DEFAULT 1 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___FB42E393D8415D19 | Primary Key ON RequirementTemplateItemId | |
| Foreign Key | ||
| FK_RequirementTemplateItem_Requirement | RequirementId ↗ ❏ RES_CNF_Requirement | |
| FK_RequirementTemplateItem_RequirementTemplate | RequirementTemplateId ↗ ❏ RES_CNF_RequirementTemplate | |
| FK_RES_CNF_RequirementTemplateItem_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_RequirementTemplateItem_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkRES_CNF_RequirementTemplateItem_RequirementTypeId | RequirementTypeId ↗ ❏ RES_CNF_RequirementType | |
| Referring Foreign Key | ||
| FK_RES_ScheduleDetail_RequirementTemplateItem | RequirementTemplateItemId ↙ ❏ RES_ScheduleDetail | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RequirementTemplateSetId | int IDENTITY |
| * | RequirementTemplateMasterId | int |
| * | RequirementTemplateChildId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___2885AAA08BB4E49D | Primary Key ON RequirementTemplateSetId | |
| Foreign Key | ||
| FK_RES_CNF_RequirementTemplateSet_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_RequirementTemplateSet_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| fkRequirementTemplateSetChild | RequirementTemplateChildId ↗ ❏ RES_CNF_RequirementTemplate(RequirementTemplateId) | |
| fkRequirementTemplateSetMaster | RequirementTemplateMasterId ↗ ❏ RES_CNF_RequirementTemplate(RequirementTemplateId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RequirementTypeId | int IDENTITY |
| Code | nvarchar(6) COLLATE Latin1_General_CI_AS | |
| Description | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| DefaultRequirementId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| RequirementTypeIdRoot | int DEFAULT 0 | |
| Indexes | ||
| PK__RES_CNF___D58B7D03E2BB2DAE | Primary Key ON RequirementTypeId | |
| Foreign Key | ||
| FK_RES_CNF_RequirementType_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_RequirementType_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| fkRequirementType_Requirement | RequirementTypeId ↙ ❏ RES_CNF_Requirement | |
| fkRequirementType_Group | RequirementTypeId ↙ ❏ RES_CNF_RequirementGroup | |
| fkRES_CNF_RequirementTemplateItem_RequirementTypeId | RequirementTypeId ↙ ❏ RES_CNF_RequirementTemplateItem | |
| FK_RES_CNF_ResourceRequirementAllowed_RequirementType | RequirementTypeId ↙ ❏ RES_CNF_ResourceRequirementAllowed | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResourceId | int IDENTITY |
| * | ResourceTypeId | int |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | Quantity | int |
| SetupTime | int | |
| UnsetupTime | int | |
| CalendarId | int | |
| Color | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| MaxPerfInWeek | int | |
| MaxPerfInDay | int | |
| MinutesBetWeenPerfs | int | |
| WarnMaxPerfInWeek | int | |
| WarnMaxPerfInDay | int | |
| WarnQuantity | int | |
| WarnMaxDayHours | int | |
| MaxDayHours | int | |
| Expired | smallint | |
| SchedulerSort | int | |
| * | ResourceCode | varchar(32) COLLATE Latin1_General_CI_AS |
| * | ResourceAK | nvarchar(32) COLLATE Latin1_General_CI_AS DEFAULT substring(CONVERT([varchar](36),newid()),(1),(32)) |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | PriorityOrder | int DEFAULT 0 |
| Indexes | ||
| PK__RES_CNF___4ED1816FAAB4371B | Primary Key ON ResourceId | |
| IDX_RES_CNF_Resource_ResourceCode_uq | Unique Key ON ResourceCode | |
| Foreign Key | ||
| FK_RES_CNF_Resource_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_Resource_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Resource_Calendar | CalendarId ↗ ❏ CNF_Calendar | |
| Resource_ResourceType | ResourceTypeId ↗ ❏ RES_CNF_ResourceType | |
| Referring Foreign Key | ||
| FK_RES_CNF_ResourceContract_CNF_Resource | ResourceId ↙ ❏ RES_CNF_ResourceContract | |
| FKResourcePriority_Resource | ResourceId ↙ ❏ RES_CNF_ResourcePriority | |
| ResourceRequirement_Resource | ResourceId ↙ ❏ RES_CNF_ResourceRequirement | |
| FK_RES_ResourceCalendar_Resource | ResourceId ↙ ❏ RES_ResourceCalendar | |
| FK_RES_Schedule_Resource | ResourceId ↙ ❏ RES_Schedule | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ContractId | int IDENTITY |
| * | ResourceId | int |
| Code | varchar(10) COLLATE Latin1_General_CI_AS | |
| Description | varchar(30) COLLATE Latin1_General_CI_AS | |
| * | ContractType | smallint |
| * | StartDate | datetime |
| EndDate | datetime | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___C90D3469D1625438 | Primary Key ON ContractId | |
| Foreign Key | ||
| FK_RES_CNF_ResourceContract_CNF_Resource | ResourceId ↗ ❏ RES_CNF_Resource | |
| FK_RES_CNF_ResourceContract_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_ResourceContract_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResourcePriorityId | int IDENTITY |
| * | RequirementTemplateId | int |
| * | ResourceId | int |
| * | Priority | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___3428FD6131FF35E1 | Primary Key ON ResourcePriorityId | |
| Foreign Key | ||
| FK_RES_CNF_ResourcePriority_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_ResourcePriority_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FKResourcePriority_Resource | ResourceId ↗ ❏ RES_CNF_Resource | |
| FKResourcePriority_Template | RequirementTemplateId ↗ ❏ RES_CNF_RequirementTemplate | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResourceRequirementId | int IDENTITY |
| * | Quantity | int DEFAULT 1 |
| * | ResourceId | int |
| * | RequirementId | int |
| * | AllocationMode | int DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___E1DEFF307AF9F872 | Primary Key ON ResourceRequirementId | |
| Foreign Key | ||
| FK_RES_CNF_ResourceRequirement_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_ResourceRequirement_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| ResourceRequirement_Requirement | RequirementId ↗ ❏ RES_CNF_Requirement | |
| ResourceRequirement_Resource | ResourceId ↗ ❏ RES_CNF_Resource | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResourceRequirementAllowedId | int IDENTITY |
| * | ResourceTypeId | int |
| * | RequirementTypeId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___98B7E269D551F89C | Primary Key ON ResourceRequirementAllowedId | |
| Foreign Key | ||
| FK_RES_CNF_ResourceRequirementAllowed_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_ResourceRequirementAllowed_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_RES_CNF_ResourceRequirementAllowed_RequirementType | RequirementTypeId ↗ ❏ RES_CNF_RequirementType | |
| FK_RES_CNF_ResourceRequirementAllowed_ResourceType | ResourceTypeId ↗ ❏ RES_CNF_ResourceType | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResourceTypeId | int IDENTITY |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | NeedCalendar | smallint DEFAULT 1 |
| * | SetupTime | int DEFAULT 0 |
| * | UnSetupTime | int DEFAULT 0 |
| DmgCategoryId | int | |
| CalendarId | int | |
| Color | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| MaxPerfInWeek | int | |
| MaxPerfInDay | int | |
| MinutesBetWeenPerfs | int | |
| WarnMaxPerfInWeek | int | |
| WarnMaxPerfInDay | int | |
| WarnMaxDayHours | int | |
| MaxDayHours | int | |
| ImageUri | varchar(50) COLLATE Latin1_General_CI_AS | |
| SchedulerSort | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___31194F99B4AB1E95 | Primary Key ON ResourceTypeId | |
| Foreign Key | ||
| FK_RES_CNF_ResourceType_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_ResourceType_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| ResourceType_Calendar | CalendarId ↗ ❏ CNF_Calendar | |
| ResourceType_DmgCategory | DmgCategoryId ↗ ❏ CNF_DmgCategory | |
| Referring Foreign Key | ||
| Resource_ResourceType | ResourceTypeId ↙ ❏ RES_CNF_Resource | |
| FK_RES_CNF_ResourceRequirementAllowed_ResourceType | ResourceTypeId ↙ ❏ RES_CNF_ResourceRequirementAllowed | |
| ResourceType_Requirement_ResourceType | ResourceTypeId ↙ ❏ RES_CNF_ResourceType_Requirement | |
| FK_RES_CNF_ScheduleTypeAllowed_ResourceType | ResourceTypeId ↙ ❏ RES_CNF_ScheduleTypeAllowed | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResourceTypeRequirementId | int IDENTITY |
| * | RequirementId | int |
| * | ResourceTypeId | int |
| * | AllocationMode | int DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___0D05A280B28808B4 | Primary Key ON ResourceTypeRequirementId | |
| Foreign Key | ||
| FK_RES_CNF_ResourceType_Requirement_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_ResourceType_Requirement_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| ResourceType_Requirement_Requirement | RequirementId ↗ ❏ RES_CNF_Requirement | |
| ResourceType_Requirement_ResourceType | ResourceTypeId ↗ ❏ RES_CNF_ResourceType | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ScheduleTypeAllowedId | int IDENTITY |
| * | ScheduleTypeId | int |
| * | ResourceTypeId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_CNF___A4DD45CAF5AAE05A | Primary Key ON ScheduleTypeAllowedId | |
| Foreign Key | ||
| FK_RES_CNF_ScheduleTypeAllowed_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_CNF_ScheduleTypeAllowed_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_RES_CNF_ScheduleTypeAllowed_ResourceType | ResourceTypeId ↗ ❏ RES_CNF_ResourceType | |
| FK_RES_CNF_ScheduleTypeAllowed_ScheduleType | ScheduleTypeId ↗ ❏ RES_ScheduleType | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResDataTransactionId | int IDENTITY |
| * | PerformanceId | int |
| TransactionId | int | |
| UserId | int | |
| * | WorkstationId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_Data__488D4DF662D3C486 | Primary Key ON ResDataTransactionId | |
| Idx_RES_DATA_Transaction_PerformanceId | Index ON PerformanceId | |
| Idx_Res_Transaction_TransId_WksId | Index ON TransactionId, WorkstationId | |
| Foreign Key | ||
| FK_RES_Data_Transaction_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_Data_Transaction_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| RES_Data_Transaction_Data_Transaction | TransactionId ↗ ❏ DATA_Transaction | |
| RES_Data_Transaction_Performance | PerformanceId ↗ ❏ CNF_Performance | |
| RES_Data_Transaction_WorkStation | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResourceCalendarId | int IDENTITY |
| * | ResourceId | int |
| CalendarId | int | |
| * | Date | datetime |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_Reso__F6399FA71B6B94A8 | Primary Key ON ResourceCalendarId | |
| idxResourceCalendarUnique | Unique Index ON ResourceId, Date | |
| Foreign Key | ||
| FK_RES_ResourceCalendar_Celandar | CalendarId ↗ ❏ CNF_Calendar | |
| FK_RES_ResourceCalendar_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_ResourceCalendar_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_RES_ResourceCalendar_Resource | ResourceId ↗ ❏ RES_CNF_Resource | |
| Referring Foreign Key | ||
| FK_RES_ResourceCalendar_TimeFrame_ResourceCalendar | ResourceCalendarId ↙ ❏ RES_ResourceCalendar_TimeFrame | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ResourceCalendarTimeFrameId | int IDENTITY |
| * | ResourceCalendarId | int |
| * | FromTime | datetime |
| * | Duration | int |
| Note | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_Reso__BADF19655FAAA5D2 | Primary Key ON ResourceCalendarTimeFrameId | |
| Foreign Key | ||
| FK_RES_ResourceCalendar_TimeFrame_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_ResourceCalendar_TimeFrame_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_RES_ResourceCalendar_TimeFrame_ResourceCalendar | ResourceCalendarId ↗ ❏ RES_ResourceCalendar | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ScheduleId | int IDENTITY |
| * | ResourceId | int |
| Note | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| * | Date | datetime |
| * | Duration | int |
| * | FromTime | datetime |
| * | Quantity | int DEFAULT 1 |
| ScheduleTypeId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| ResourceReqByGuest | int | |
| Indexes | ||
| PK__RES_Sche__9C8A5B491828DFB7 | Primary Key ON ScheduleId | |
| Foreign Key | ||
| FK_RES_Schedule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_Schedule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_RES_Schedule_Resource | ResourceId ↗ ❏ RES_CNF_Resource | |
| fkSchedule_ScheduleType | ScheduleTypeId ↗ ❏ RES_ScheduleType | |
| Referring Foreign Key | ||
| FK_RES_ScheduleDetail_Schedule | ScheduleId ↙ ❏ RES_ScheduleDetail | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ScheduleDetailId | int IDENTITY |
| * | ScheduleId | int |
| * | PerformanceId | int |
| RequirementId | int | |
| RequirementTemplateItemId | int | |
| * | Quantity | int DEFAULT 1 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_Sche__921C9F15E0A816B8 | Primary Key ON ScheduleDetailId | |
| Idx_ScheduleDetail_ScheduleId | Index ON ScheduleId | |
| Idx_ScheduleDetail_PerfId | Index ON PerformanceId | |
| Foreign Key | ||
| FK_RES_ScheduleDetail_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_ScheduleDetail_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_RES_ScheduleDetail_Performance | PerformanceId ↗ ❏ RES_CNF_Performance | |
| FK_RES_ScheduleDetail_Requirement | RequirementId ↗ ❏ RES_CNF_Requirement | |
| FK_RES_ScheduleDetail_RequirementTemplateItem | RequirementTemplateItemId ↗ ❏ RES_CNF_RequirementTemplateItem | |
| FK_RES_ScheduleDetail_Schedule | ScheduleId ↗ ❏ RES_Schedule | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ScheduleTypeId | int IDENTITY |
| Code | varchar(10) COLLATE Latin1_General_CI_AS | |
| Description | varchar(50) COLLATE Latin1_General_CI_AS | |
| Color | varchar(32) COLLATE Latin1_General_CI_AS | |
| * | Hidden | smallint DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RES_Sche__D48286C801DBD650 | Primary Key ON ScheduleTypeId | |
| Foreign Key | ||
| FK_RES_ScheduleType_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RES_ScheduleType_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_RES_CNF_ScheduleTypeAllowed_ScheduleType | ScheduleTypeId ↙ ❏ RES_CNF_ScheduleTypeAllowed | |
| fkSchedule_ScheduleType | ScheduleTypeId ↙ ❏ RES_Schedule | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | RevenueRecognitionProductId | int IDENTITY |
| * | RevenueRecognitionRuleId | int |
| MatrixSheetId | int | |
| MatrixCellId | int | |
| AttributeId | int | |
| * | Enabled | smallint |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RR_CNF_P__C5B1DB0F315E2492 | Primary Key ON RevenueRecognitionProductId | |
| Foreign Key | ||
| FK_RR_CNF_Product_CNF_Attribute_AttributeId | AttributeId ↗ ❏ CNF_Attribute | |
| FK_RR_CNF_Product_CNF_MatrixCell_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_RR_CNF_Product_CNF_MatrixSheet_MatrixSheetId | MatrixSheetId ↗ ❏ CNF_MatrixSheet | |
| FK_RR_CNF_Product_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RR_CNF_Product_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_RR_CNF_Product_RR_CNF_RevenueRecognitionRule_RevenueRecognitionRuleId | RevenueRecognitionRuleId ↗ ❏ RR_CNF_RevenueRecognitionRule | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RevenueRecognitionRuleId | int IDENTITY |
| * | RevenueRecognitionRuleAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | Code | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Description | nvarchar(100) COLLATE Latin1_General_CI_AS | |
| RRCalcTypeWhere | smallint | |
| * | RRCalcTypeMethod | smallint |
| FromDate | datetime | |
| ToDate | datetime | |
| * | CreationDate | datetime |
| * | LastUpdate | datetime |
| * | Enabled | smallint |
| RRCalcTypeTrigger | smallint | |
| Percentage | float | |
| Days | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| * | UpgradeType | smallint DEFAULT 0 |
| UsageTime | smallint | |
| Indexes | ||
| PK__RR_CNF_R__3F0BE91645081750 | Primary Key ON RevenueRecognitionRuleId | |
| UQ__RR_CNF_R__3F0A2E3464B97AD0 | Unique Key ON RevenueRecognitionRuleAK | |
| Foreign Key | ||
| FK_RR_CNF_RevenueRecognitionRule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RR_CNF_RevenueRecognitionRule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| FK_COA_CNF_AccountConfig_RR_CNF_RevenueRecognitionRule_RevenueRecognitionRuleId | RevenueRecognitionRuleId ↙ ❏ COA_CNF_AccountConfig | |
| FK_RR_DATA_Revenue_RR_CNF_RevenueRecognitionRule_RevenueRecognitionRuleId | RevenueRecognitionRuleId ↙ ❏ RR_DATA_Revenue | |
| FK_RR_CNF_Product_RR_CNF_RevenueRecognitionRule_RevenueRecognitionRuleId | RevenueRecognitionRuleId ↙ ❏ RR_CNF_Product | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RevenueRecognitionRuleScheduleId | int IDENTITY |
| * | RevenueRecognitionRuleId | int |
| PeriodOption | smallint | |
| ActiveSunday | smallint | |
| ActiveMonday | smallint | |
| ActiveTuesday | smallint | |
| ActiveWednesday | smallint | |
| ActiveThursday | smallint | |
| ActiveFriday | smallint | |
| ActiveSaturday | smallint | |
| LastDayOptionDay | smallint | |
| LastDayOptionWeek | smallint | |
| SpecificDay | int | |
| WeekOption | smallint | |
| MonthOption | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__RR_CNF_R__3EC9D6734574A525 | Primary Key ON RevenueRecognitionRuleScheduleId | |
| Foreign Key | ||
| FK_RR_CNF_RevenueRecognitionRuleSchedule_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_RR_CNF_RevenueRecognitionRuleSchedule_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | RevenueRecognitionDataId | bigint IDENTITY |
| * | COAAccountId | int |
| * | RevenueRecognitionRuleId | int |
| RRCalcTypeWhere | smallint | |
| * | RRCalcTypeMethod | smallint |
| COAAccountConfigId | int | |
| * | COAAccountType | smallint |
| TransactionId | int | |
| SaleId | int | |
| SaleItemId | int | |
| MatrixCellId | int | |
| UsageId | int | |
| TicketId | int | |
| * | SiteId | int |
| LocationId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserGroupId | int | |
| UserId | int | |
| * | FCalcDate | datetime |
| * | Quantity | int DEFAULT 0 |
| UnitAmount | float | |
| * | GrossAmount | float |
| * | NetAmount | float |
| Price | float | |
| Percentage | float | |
| RemaningValues | bit | |
| * | RevenueAmount | float |
| RRCalcTypeTrigger | smallint | |
| RRPercentage | float | |
| RRDays | int | |
| MatrixSheetId | int | |
| AccountingType | smallint | |
| AttributeIDs | varchar(4000) COLLATE Latin1_General_CI_AS | |
| SaleItemTaxId | int | |
| SaleItemRuleID | int | |
| Encoded | smallint | |
| JournalEntryByAccount | smallint | |
| LinkedJournalAccountId | smallint | |
| TimePeriod | smallint DEFAULT 0 | |
| Forecasted | smallint DEFAULT 0 | |
| OOBflag | smallint DEFAULT 0 | |
| Indexes | ||
| PK__RR_DATA___E01B942BE8D8F8B3 | Primary Key ON RevenueRecognitionDataId | |
| IDX_RR_DATA_Revenue_TransactionID_Trigger | Index ON RRCalcTypeTrigger, TransactionId | |
| IDX_RR_DATA_Revenue_SaleItemId_Trigger | Index ON SaleItemId, RRCalcTypeTrigger | |
| RR_DATA_Revenue_Ticketid_AccountingType | Index ON TicketId, AccountingType | |
| IDX_RR_DATA_Revenue_RevenueAmount | Index ON RevenueAmount | |
| IDX_RR_DATA_Revenue_TransactiONID | Index ON TransactionId | |
| IDX_RR_DATA_Revenue_CoaAccountID | Index ON COAAccountId | |
| IDX_RR_DATA_Revenue_COAAccountid_RuleID | Index ON COAAccountId, RevenueRecognitionRuleId | |
| IDX_RR_DATA_Revenue_coaaccountid_Fcalcdate | Index ON COAAccountId, FCalcDate | |
| IDX_RR_DATA_Revenue_coaaccountid_Fcalcdate_Includes | Index ON COAAccountId, FCalcDate | |
| IDX_RR_DATA_Revenue_coaaccountid_Fcalcdate_AllIncludes | Index ON COAAccountId, FCalcDate | |
| IDX_RR_DATA_Revenue_Account_Date_Amount | Index ON COAAccountId, FCalcDate, RevenueAmount | |
| IDX_rr_data_revenue_ticketid | Index ON TicketId | |
| IDX_RR_data_revenue_ticketID_TID | Index ON TicketId | |
| IDX_RR_Data_revenue_SI_TI_DATE | Index ON SaleItemId, TicketId, RRCalcTypeTrigger, AccountingType, COAAccountId | |
| IDX_RR_DATA_Revenue_MatrixcellID_Includes | Index ON MatrixCellId | |
| IDX_RR_DATA_Revenue_TransactionID_COAAccountid | Index ON TransactionId | |
| IDX_rr_data_revenue_fcalcdate_usageID | Index ON FCalcDate, UsageId | |
| IDX_RR_DATA_Revenue_AccountID_TransactionID_Date | Index ON COAAccountId, TransactionId, FCalcDate | |
| IDX_RR_Data_Revenue_Trigger_Type | Index ON RRCalcTypeTrigger, AccountingType | |
| IDX_RR_DATA_Revenue_AccountID_Fcalcdate | Index ON COAAccountId, FCalcDate | |
| Foreign Key | ||
| FK_RR_DATA_Revenue_CNF_Location_LocationId | LocationId ↗ ❏ CNF_Location | |
| FK_RR_DATA_Revenue_CNF_MatrixCell_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_RR_DATA_Revenue_CNF_OperatingArea_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_RR_DATA_Revenue_CNF_Site_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_RR_DATA_Revenue_CNF_User_UserId | UserId ↗ ❏ CNF_User | |
| FK_RR_DATA_Revenue_CNF_UserGroup_UserGroupId | UserGroupId ↗ ❏ CNF_UserGroup | |
| FK_RR_DATA_Revenue_CNF_Workstation_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| FK_RR_DATA_Revenue_COA_CNF_Account_COAAccountId | COAAccountId ↗ ❏ COA_CNF_Account | |
| FK_RR_DATA_Revenue_COA_CNF_AccountConfig_COAAccountConfigId | COAAccountConfigId ↗ ❏ COA_CNF_AccountConfig | |
| FK_RR_DATA_Revenue_DATA_Sale_SaleId | SaleId ↗ ❏ DATA_Sale | |
| FK_RR_DATA_Revenue_DATA_SaleItem_SaleItemId | SaleItemId ↗ ❏ DATA_SaleItem | |
| FK_RR_DATA_Revenue_DATA_Ticket_TicketId | TicketId ↗ ❏ DATA_Ticket | |
| FK_RR_DATA_Revenue_DATA_TicketUsage_UsageId | UsageId ↗ ❏ DATA_TicketUsage | |
| FK_RR_DATA_Revenue_DATA_Transaction_TransactionId | TransactionId ↗ ❏ DATA_Transaction | |
| FK_RR_DATA_Revenue_RR_CNF_RevenueRecognitionRule_RevenueRecognitionRuleId | RevenueRecognitionRuleId ↗ ❏ RR_CNF_RevenueRecognitionRule | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | DataRevenueTotalsId | int IDENTITY |
| * | SiteId | int |
| * | COAAccountId | int |
| * | FCalcDate | datetime |
| * | Debit | float |
| * | Credit | float |
| Indexes | ||
| PK__RR_Data___178264B1C2603C15 | Primary Key ON DataRevenueTotalsId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SpaceStructureSeatId | int IDENTITY |
| * | SpaceStructureId | int |
| * | SeatActive | smallint DEFAULT 0 |
| DocumentId | int | |
| Version | int | |
| SettingDocumentId | int | |
| SettingVersion | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__SEAT_CNF__CBE05D4DCA118FF1 | Primary Key ON SpaceStructureSeatId | |
| idxSEAT_CNF_SpaceStructureSeat_SpaceStructureId | Index ON SpaceStructureId | |
| Foreign Key | ||
| FK__SEAT_CNF___Space__4D755761 | SpaceStructureId ↗ ❏ CNF_SpaceStructure | |
| FK_SEAT_CNF_SpaceStructureSeat_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_SEAT_CNF_SpaceStructureSeat_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | AbbonamentoID | int IDENTITY |
| * | CodiceSistemaEmissione | nvarchar(8) COLLATE Latin1_General_CI_AS |
| * | CodiceCartaEmissione | nvarchar(8) COLLATE Latin1_General_CI_AS |
| * | ProgressivoCartaEmissione | int |
| * | SigilloEmissione | nvarchar(16) COLLATE Latin1_General_CI_AS |
| CodiceCartaAnnullo | nvarchar(8) COLLATE Latin1_General_CI_AS | |
| ProgressivoCartaAnnullo | int | |
| SigilloAnnullo | nvarchar(16) COLLATE Latin1_General_CI_AS | |
| * | CFOrganizzatore | nvarchar(16) COLLATE Latin1_General_CI_AS |
| * | TipoAbbonamento | nvarchar(1) COLLATE Latin1_General_CI_AS |
| * | CodiceAbbonamento | nvarchar(8) COLLATE Latin1_General_CI_AS |
| * | ProgressivoAbbonamento | int |
| * | CausaleRiduzione | nvarchar(2) COLLATE Latin1_General_CI_AS |
| * | OrdinePosto | nvarchar(2) COLLATE Latin1_General_CI_AS |
| * | PrezzoAbbonamento | float |
| * | TipoTassazione | smallint |
| * | IdentifierCode | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | DataLimiteValidita | datetime |
| * | EventiAbilitati | int |
| * | EventiUtilizzati | int |
| EventId | int | |
| MatrixCellId | int | |
| CausaleRiduzioneId | smallint | |
| OrdinePostoId | smallint | |
| * | TicketId | int |
| Indexes | ||
| PK__SIAE_Abb__1B7D098A7D618970 | Primary Key ON AbbonamentoID | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | CalendarioId | int IDENTITY |
| * | Data | datetime |
| Indexes | ||
| PK__SIAE_Cal__A0E1E6CA3C2515D6 | Primary Key ON CalendarioId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | CardId | int IDENTITY |
| * | CardCode | varchar(8) COLLATE Latin1_General_CI_AS |
| * | Logged | smallint |
| LoginDate | datetime | |
| SystemCode | varchar(8) COLLATE Latin1_General_CI_AS | |
| * | Counter | int |
| * | Balance | float |
| ContactName | varchar(40) COLLATE Latin1_General_CI_AS | |
| ContactLastName | varchar(40) COLLATE Latin1_General_CI_AS | |
| ContactCodeFisc | varchar(18) COLLATE Latin1_General_CI_AS | |
| SystemLocation | varchar(100) COLLATE Latin1_General_CI_AS | |
| SystemEmail | varchar(50) COLLATE Latin1_General_CI_AS | |
| SiaeEmail | varchar(40) COLLATE Latin1_General_CI_AS | |
| SystemName | varchar(60) COLLATE Latin1_General_CI_AS | |
| CFSystem | varchar(18) COLLATE Latin1_General_CI_AS | |
| SystemRIA | varchar(18) COLLATE Latin1_General_CI_AS | |
| SystemCountry | varchar(3) COLLATE Latin1_General_CI_AS | |
| SystemApprovationCode | varchar(20) COLLATE Latin1_General_CI_AS | |
| SystemApprovationDate | varchar(20) COLLATE Latin1_General_CI_AS | |
| ContactType | varchar(1) COLLATE Latin1_General_CI_AS | |
| FileSystemVer | varchar(5) COLLATE Latin1_General_CI_AS | |
| WorkstationId | int | |
| SystemId | int | |
| * | IsExternal | smallint DEFAULT 0 |
| * | Enabled | smallint DEFAULT 1 |
| Indexes | ||
| PK__SIAE_Car__55FECDAE40435EAF | Primary Key ON CardId | |
| UQ__SIAE_Car__3D531707783094D7 | Unique Key ON CardCode | |
| Foreign Key | ||
| FK__SIAE_Card__Syste__4E697B9A | SystemId ↗ ❏ CNF_System | |
| FK__SIAE_Card__Works__4F5D9FD3 | WorkstationId ↗ ❏ CNF_Workstation | |
| Referring Foreign Key | ||
| FK__SIAE_Siae__CardI__62707447 | CardId ↙ ❏ SIAE_SiaeLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SiaeCategoryId | int IDENTITY |
| SeatCategoryId | int | |
| Capienza | int | |
| LimiteOmaggi | int | |
| * | IvaOmaggiTitoli | float |
| MatrixCellId | int | |
| AttributeId | int | |
| EventId | int | |
| PriceTableId | int | |
| Indexes | ||
| PK__SIAE_Cat__C18E54FAB5FB993D | Primary Key ON SiaeCategoryId | |
| Foreign Key | ||
| fkSiaeCategoryAttributeId | AttributeId ↗ ❏ CNF_Attribute | |
| fkSiaeCategoryEventId | EventId ↗ ❏ CNF_Event | |
| fkSiaeCategoryPriceTableId | PriceTableId ↗ ❏ CNF_PriceTable | |
| fkSiaeCategorySeatCategoryId1 | SeatCategoryId ↗ ❏ CNF_SeatCategory | |
| Idx | Column Name | Data Type |
|---|---|---|
| Capienza | int | |
| * | SeatCategoryId | int |
| * | IvaOmaggiTitoli | float |
| LimiteOmaggi | int | |
| EventId | int | |
| PriceTableId | int | |
| MatrixCellId | int | |
| Indexes | ||
| PK__SIAE_Cat__75ACE6E5F599BC2F | Primary Key ON SeatCategoryId | |
| Foreign Key | ||
| FK__SIAE_Cate__SeatC__542254F0 | SeatCategoryId ↗ ❏ CNF_SeatCategory | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | EventId | int |
| OrganizzatoreId | int | |
| TitolareId | int | |
| * | TipoGenere | int |
| * | EventType | smallint |
| * | TitoloEvento | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | Incidenza | float |
| Autore | varchar(30) COLLATE Latin1_General_CI_AS | |
| Esecutore | varchar(80) COLLATE Latin1_General_CI_AS | |
| NazionalitaFilm | varchar(4) COLLATE Latin1_General_CI_AS | |
| Stato | varchar(1) COLLATE Latin1_General_CI_AS | |
| NumeroOpere | int | |
| DataInizio | datetime | |
| DataFine | datetime | |
| DefaultLocaleId | int | |
| Capienza | int | |
| * | TipoCapienza | smallint |
| IvaOmaggioTitolo | float | |
| IvaOmaggioAbbFisso | float | |
| IvaOmaggioAbbLibero | varchar(10) COLLATE Latin1_General_CI_AS | |
| Distributore | varchar(80) COLLATE Latin1_General_CI_AS | |
| * | GroupedPerDay | smallint DEFAULT 0 |
| * | GeneraLtaRca | smallint |
| * | BattelliActStatus | smallint DEFAULT 1 |
| TaxPackageId | int | |
| Indexes | ||
| PK__SIAE_Eve__7944C8105C2E193C | Primary Key ON EventId | |
| Foreign Key | ||
| FK_SIAE_Event_TaxPackageId | TaxPackageId ↗ ❏ CNF_TaxPackage | |
| Referring Foreign Key | ||
| FK__SIAE_Log2__Event__5CB79AF1 | EventId ↙ ❏ SIAE_Log2Performance | |
| FK__SIAE_Perf__Event__5E9FE363 | EventId ↙ ❏ SIAE_Performance | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SiaeExternalTicketRangeId | int IDENTITY |
| * | ExternalTicketRangeId | int |
| * | TipoTitolo | int |
| * | CausaleRiduzione | int |
| * | OrdinePosto | int |
| * | Smaterializzato | smallint |
| * | TipoTassazione | int |
| * | PrezzoTitolo | float |
| * | IvaTitolo | float |
| CodiceAbbonamento | char(8) COLLATE Latin1_General_CI_AS | |
| ProducerId | int | |
| TipoTurno | varchar(1) COLLATE Latin1_General_CI_AS | |
| NumPrestMax | int | |
| PerformanceIds | varchar(4000) COLLATE Latin1_General_CI_AS | |
| Rateo | float | |
| IvaRateo | float | |
| DataLimiteValidita | datetime | |
| EventId | int | |
| Indexes | ||
| PK__SIAE_Ext__83453DCCAAE31FA1 | Primary Key ON SiaeExternalTicketRangeId | |
| Foreign Key | ||
| fk_CausaleRiduzione_AttributeId | CausaleRiduzione ↗ ❏ CNF_Attribute(AttributeId) | |
| fk_EventId | EventId ↗ ❏ CNF_Event | |
| fk_ExternalTicketRangeId | ExternalTicketRangeId ↗ ❏ CNF_ExternalTicketRange | |
| fk_OrdinePosto_AttributeId | OrdinePosto ↗ ❏ CNF_Attribute(AttributeId) | |
| fk_ProducerId | ProducerId ↗ ❏ SIAE_Producer | |
| fk_TipoTitolo_AttributeId | TipoTitolo ↗ ❏ CNF_Attribute(AttributeId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SiaeLocationId | int IDENTITY |
| * | LocationId | int |
| * | CodiceLocale | nvarchar(13) COLLATE Latin1_General_CI_AS |
| * | Denominazione | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | Indirizzo | nvarchar(100) COLLATE Latin1_General_CI_AS |
| Citta | nvarchar(20) COLLATE Latin1_General_CI_AS | |
| Provincia | nvarchar(2) COLLATE Latin1_General_CI_AS | |
| Capienza | int | |
| AccessConfigurationId | int | |
| SiaeGeoEntityId | int | |
| Indexes | ||
| PK__SIAE_Loc__B286ABA4ED67A133 | Primary Key ON SiaeLocationId | |
| Foreign Key | ||
| fkSiaeLocationAccessConfigurationId | AccessConfigurationId ↗ ❏ ADM_AccessConfiguration | |
| fkSiaeLocationLocationId | LocationId ↗ ❏ CNF_Location | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LocationId | int |
| * | CodiceLocale | nvarchar(13) COLLATE Latin1_General_CI_AS |
| * | Denominazione | nvarchar(30) COLLATE Latin1_General_CI_AS |
| * | Indirizzo | nvarchar(100) COLLATE Latin1_General_CI_AS |
| * | Citta | nvarchar(20) COLLATE Latin1_General_CI_AS |
| * | Provincia | nvarchar(2) COLLATE Latin1_General_CI_AS |
| Capienza | int | |
| AccessConfigurationId | int | |
| Indexes | ||
| PK__SIAE_Loc__E7FEA497F55DA63F | Primary Key ON LocationId | |
| Referring Foreign Key | ||
| FK__SIAE_Perf__Locat__5F94079C | LocationId ↙ ❏ SIAE_Performance | |
| FK__SIAE_Siae__Locat__63649880 | LocationId ↙ ❏ SIAE_SiaeLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Log2PerformanceId | int IDENTITY |
| * | SiaeLogId | int |
| PerformanceId | int | |
| * | EventId | int |
| PerfDateTime | datetime | |
| Indexes | ||
| PK__SIAE_Log__471F09BEBC578F2A | Primary Key ON Log2PerformanceId | |
| SIAE_Log2Performance_PerformanceId | Index ON PerformanceId | |
| SIAE_Log2Performance_SiaeLogId | Index ON SiaeLogId | |
| Foreign Key | ||
| FK__SIAE_Log2__Event__5CB79AF1 | EventId ↗ ❏ SIAE_Event | |
| FK__SIAE_Log2__SiaeL__5DABBF2A | SiaeLogId ↗ ❏ SIAE_SiaeLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LookUpId | int IDENTITY |
| * | LookUpTableId | int |
| * | ItemId | int |
| LookUpCode | varchar(10) COLLATE Latin1_General_CI_AS | |
| * | Description | varchar(80) COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__SIAE_Loo__D9A336D5674CE3C6 | Primary Key ON LookUpId | |
| Idx1 | Unique Index ON LookUpTableId, ItemId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformanceId | int |
| * | LocationId | int |
| * | EventId | int |
| PerfDateTime | datetime | |
| ClosingDateTime | datetime | |
| NumeroOpere | int | |
| IvaOmaggio | float | |
| IvaAbbonamentoFisso | float | |
| IvaAbbonamentoLibero | float | |
| Indexes | ||
| PK__SIAE_Per__F9606E0152585900 | Primary Key ON PerformanceId | |
| Foreign Key | ||
| FK__SIAE_Perf__Event__5E9FE363 | EventId ↗ ❏ SIAE_Event | |
| FK__SIAE_Perf__Locat__5F94079C | LocationId ↗ ❏ SIAE_Location_OLD | |
| Referring Foreign Key | ||
| FK__SIAE_Siae__Perfo__6458BCB9 | PerformanceId ↙ ❏ SIAE_SiaeLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | PerformanceId | int |
| * | AttributeId | int |
| Capienza | int | |
| SeatCategoryId | int | |
| Indexes | ||
| PK__SIAE_Per__4578FC9FEE8F483E | Primary Key ON PerformanceId, AttributeId | |
| Foreign Key | ||
| FK_SIAE_PerformanceCapacity_SeatCategoryId | SeatCategoryId ↗ ❏ CNF_SeatCategory | |
| FK_SIAE_SIAE_PerformanceCapacity_AttributeId | AttributeId ↗ ❏ CNF_Attribute | |
| FK_SIAE_SIAE_PerformanceCapacity_PerformanceId | PerformanceId ↗ ❏ CNF_Performance | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProducerId | int IDENTITY |
| Description | varchar(80) COLLATE Latin1_General_CI_AS | |
| * | CodiceFiscale | varchar(16) COLLATE Latin1_General_CI_AS |
| * | ProducerType | varchar(1) COLLATE Latin1_General_CI_AS |
| * | RagioneSociale | varchar(50) COLLATE Latin1_General_CI_AS |
| Indirizzo | varchar(80) COLLATE Latin1_General_CI_AS | |
| * | SystemId | int |
| ExternalId | varchar(10) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__SIAE_Pro__13369652FD47A70D | Primary Key ON ProducerId | |
| Foreign Key | ||
| FK__SIAE_Prod__Syste__60882BD5 | SystemId ↗ ❏ SIAE_System | |
| Referring Foreign Key | ||
| fk_ProducerId | ProducerId ↙ ❏ SIAE_ExternalTicketRange | |
| FK_CNF_MatrixCellInfo_SIAE_Producer_ProducerId | ProducerId ↙ ❏ CNF_MatrixCellInfo | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | RiepilogoId | int IDENTITY |
| * | Nome | nvarchar(30) COLLATE Latin1_General_CI_AS |
| DataRiferimento | datetime | |
| * | Tipo | smallint |
| * | Stato | smallint |
| * | DataGenerazione | datetime |
| DataSalvataggio | datetime | |
| DataInvio | datetime | |
| * | Progressivo | int |
| * | TipoFile | smallint |
| * | Sostituzione | smallint |
| MailDisable | smallint | |
| * | Riepilogo | ntext COLLATE Latin1_General_CI_AS |
| * | SystemId | int |
| LastId | int | |
| Indexes | ||
| PK__SIAE_Rie__5C47BCA716F5084A | Primary Key ON RiepilogoId | |
| Idx_Riepiloghi_Nome | Index ON Nome | |
| Idx_Riepiloghi_Data_Tipo_Stato | Index ON DataRiferimento, Tipo, Stato | |
| Idx_Riepiloghi_Data_Tipo | Index ON DataRiferimento, Tipo | |
| Foreign Key | ||
| FK__SIAE_Riep__Syste__617C500E | SystemId ↗ ❏ SIAE_System | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | CounterId | int IDENTITY |
| * | CounterType | smallint |
| * | IdentifierAK | varchar(32) COLLATE Latin1_General_CI_AS |
| * | ReferenceTime | varchar(32) COLLATE Latin1_General_CI_AS |
| * | Counter | int |
| LastUpdateGuid | varchar(32) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__SIAE_Sia__F12879C40252FDB3 | Primary Key ON CounterId | |
| idxSiaeCounterAk | Unique Index ON CounterType, IdentifierAK, ReferenceTime | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SiaeLogId | int IDENTITY |
| * | SystemId | int |
| ProducerId | int | |
| EventId | int | |
| PerformanceId | int | |
| LocationId | int | |
| * | CardId | int |
| TicketId | int | |
| * | Stato | int DEFAULT 0 |
| Operazione | smallint | |
| * | DataOraEmissione | datetime |
| ProductId | varchar(32) COLLATE Latin1_General_CI_AS | |
| AbbonamentoId | varchar(32) COLLATE Latin1_General_CI_AS | |
| OrdinePosto | int | |
| Posto | varchar(6) COLLATE Latin1_General_CI_AS | |
| CausaleRiduzione | smallint | |
| TipoTitolo | smallint | |
| TitoloBase | varchar(1) COLLATE Latin1_General_CI_AS | |
| IvaPreassolta | varchar(1) COLLATE Latin1_General_CI_AS | |
| TipoTurno | varchar(1) COLLATE Latin1_General_CI_AS | |
| NumPrestMax | int | |
| * | Sigillo | varchar(16) COLLATE Latin1_General_CI_AS |
| PuntoVenditaId | nvarchar(32) COLLATE Latin1_General_CI_AS | |
| TipoTassazione | smallint | |
| * | PrezzoTitolo | float |
| * | IvaTitolo | float |
| * | PrezzoPrevendita | float |
| * | IvaPrevendita | float |
| * | Rateo | float |
| * | IvaRateo | float |
| PrestampaId | int | |
| * | CardCounter | int |
| VoidTicketId | int | |
| RateoIntrattenimenti | float | |
| ImponibileIntrattenimenti | float | |
| CodiceAbbonamento | varchar(8) COLLATE Latin1_General_CI_AS | |
| DataLimiteValidita | datetime | |
| ProgressivoAbbonamento | int | |
| DataEmissione | datetime | |
| IvaIntrattenimenti | float | |
| * | Smaterializzato | smallint |
| IvaRateoIntrattenimenti | float | |
| MediaIdentifierId | int | |
| Provenance | int | |
| Indexes | ||
| PK__SIAE_Sia__DDC2472031645A38 | Primary Key ON SiaeLogId | |
| IDX_SIAE_SiaeLog_TicketId | Index ON TicketId | |
| IdxCodiceAbbonamento | Index ON CodiceAbbonamento, Operazione | |
| K_SLO_5 | Index ON SystemId | |
| SIAE_SiaeLog_DataEmissione | Index ON DataEmissione | |
| IX_SIAE_SiaeLog_Operazione_Sigillo | Index ON Operazione, Sigillo | |
| Foreign Key | ||
| FK__SIAE_Siae__CardI__62707447 | CardId ↗ ❏ SIAE_Card | |
| FK__SIAE_Siae__Locat__63649880 | LocationId ↗ ❏ SIAE_Location_OLD | |
| FK__SIAE_Siae__Perfo__6458BCB9 | PerformanceId ↗ ❏ SIAE_Performance | |
| FK__SIAE_Siae__Syste__654CE0F2 | SystemId ↗ ❏ SIAE_System | |
| FK__SIAE_Siae__Ticke__6641052B | TicketId ↗ ❏ DATA_Ticket | |
| Referring Foreign Key | ||
| FK__SIAE_Log2__SiaeL__5DABBF2A | SiaeLogId ↙ ❏ SIAE_Log2Performance | |
| FK_SIAE_SiaeLogAdditionalInfo_SiaeLogId | SiaeLogId ↙ ❏ SIAE_SiaeLogAdditionalInfo | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SiaeLogAdditionalInfoId | int IDENTITY |
| * | SiaeLogId | int |
| * | AcquirenteTipoAutenticazione | smallint |
| AcquirenteAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| AcquirenteCellulare | varchar(32) COLLATE Latin1_General_CI_AS | |
| AcquirenteEMail | varchar(50) COLLATE Latin1_General_CI_AS | |
| AcquirenteMetodoSpedizione | varchar(50) COLLATE Latin1_General_CI_AS | |
| AcquirenteIndirizzoSpedizione | varchar(400) COLLATE Latin1_General_CI_AS | |
| AcquirenteIP | varchar(15) COLLATE Latin1_General_CI_AS | |
| AcquirenteDataOraRegistrazione | datetime | |
| TransazioneAK | varchar(32) COLLATE Latin1_General_CI_AS | |
| TransazioneIP | varchar(15) COLLATE Latin1_General_CI_AS | |
| TransazioneDataOraChekOut | datetime | |
| TransazioneDataOraPagamento | datetime | |
| TransazioneCRO | varchar(50) COLLATE Latin1_General_CI_AS | |
| NomePartecipante | varchar(50) COLLATE Latin1_General_CI_AS | |
| CognomePartecipante | varchar(50) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__SIAE_Sia__87DD8FB0475AEA85 | Primary Key ON SiaeLogAdditionalInfoId | |
| Foreign Key | ||
| FK_SIAE_SiaeLogAdditionalInfo_SiaeLogId | SiaeLogId ↗ ❏ SIAE_SiaeLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | SystemDescription | varchar(80) COLLATE Latin1_General_CI_AS |
| * | SystemCFTitolare | varchar(16) COLLATE Latin1_General_CI_AS |
| * | SystemCode | varchar(8) COLLATE Latin1_General_CI_AS |
| SystemLocation | varchar(100) COLLATE Latin1_General_CI_AS | |
| SystemEmail | varchar(50) COLLATE Latin1_General_CI_AS | |
| SiaeEmail | varchar(50) COLLATE Latin1_General_CI_AS | |
| SystemRIA | varchar(18) COLLATE Latin1_General_CI_AS | |
| SystemCountry | varchar(3) COLLATE Latin1_General_CI_AS | |
| SystemApprovationCode | varchar(20) COLLATE Latin1_General_CI_AS | |
| SystemApprovationDate | varchar(20) COLLATE Latin1_General_CI_AS | |
| * | SystemId | int |
| InitializationDate | varchar(100) COLLATE Latin1_General_CI_AS | |
| backUpEmail | varchar(80) COLLATE Latin1_General_CI_AS | |
| ReportPath | varchar(100) COLLATE Latin1_General_CI_AS | |
| * | CdCounter | int |
| * | OutputFileType | smallint DEFAULT 0 |
| Indexes | ||
| PK__SIAE_Sys__9394F68AB7219553 | Primary Key ON SystemId | |
| Referring Foreign Key | ||
| FK__SIAE_Prod__Syste__60882BD5 | SystemId ↙ ❏ SIAE_Producer | |
| FK__SIAE_Riep__Syste__617C500E | SystemId ↙ ❏ SIAE_Riepiloghi | |
| FK__SIAE_Siae__Syste__654CE0F2 | SystemId ↙ ❏ SIAE_SiaeLog | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatAdmissionId | int IDENTITY |
| SystemId | int | |
| SiteId | int | |
| OperatingAreaId | int | |
| GateId | int | |
| WorkstationId | int | |
| * | MatrixCellId | int |
| * | FDate | datetime |
| * | Period | smallint |
| Entry | int | |
| Reentry | int | |
| ExitNumber | int | |
| Transit | int | |
| Indexes | ||
| PK__STAT_Adm__A89FF1FA88DE65E1 | Primary Key ON StatAdmissionId | |
| Foreign Key | ||
| FK_STAT_Admission_GateId | GateId ↗ ❏ ADM_Gate | |
| FK_STAT_Admission_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_STAT_Admission_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_STAT_Admission_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_STAT_Admission_SystemId | SystemId ↗ ❏ CNF_System | |
| FK_STAT_Admission_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatCostCenterId | int IDENTITY |
| SystemId | int | |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserId | int | |
| * | CostCenterId | int |
| * | FDate | datetime |
| * | Period | smallint |
| Quantity | int | |
| Amount | money | |
| Indexes | ||
| PK__STAT_Cos__26CEADF0EF3A8A48 | Primary Key ON StatCostCenterId | |
| Foreign Key | ||
| FK_STAT_CostCenter_CostCenterId | CostCenterId ↗ ❏ CNF_CostCenter | |
| FK_STAT_CostCenter_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_STAT_CostCenter_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_STAT_CostCenter_SystemId | SystemId ↗ ❏ CNF_System | |
| FK_STAT_CostCenter_UserId | UserId ↗ ❏ CNF_User | |
| FK_STAT_CostCenter_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatCreditCardId | int IDENTITY |
| * | SystemId | int |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserId | int | |
| * | CurrencyId | int |
| * | PaymentCardId | int |
| * | FDate | datetime |
| * | Period | smallint |
| Amount | money | |
| Indexes | ||
| PK__STAT_Cre__6546146122FFAB26 | Primary Key ON StatCreditCardId | |
| Foreign Key | ||
| FK_STAT_CreditCard_CurrencyId | CurrencyId ↗ ❏ CNF_Currency | |
| FK_STAT_CreditCard_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_STAT_CreditCard_PaymentCardId | PaymentCardId ↗ ❏ CNF_PaymentCard | |
| FK_STAT_CreditCard_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_STAT_CreditCard_SystemId | SystemId ↗ ❏ CNF_System | |
| FK_STAT_CreditCard_UserId | UserId ↗ ❏ CNF_User | |
| FK_STAT_CreditCard_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatPaymentId | int IDENTITY |
| SystemId | int | |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserId | int | |
| * | CurrencyId | int |
| * | PaymentMethodId | int |
| * | FDate | datetime |
| * | Period | smallint |
| Amount | money | |
| Indexes | ||
| PK__STAT_Pay__362996C4C43A7FA2 | Primary Key ON StatPaymentId | |
| Foreign Key | ||
| FK_STAT_Payment_CurrencyId | CurrencyId ↗ ❏ CNF_Currency | |
| FK_STAT_Payment_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_STAT_Payment_PaymentMethodId | PaymentMethodId ↗ ❏ CNF_PaymentMethod | |
| FK_STAT_Payment_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_STAT_Payment_SystemId | SystemId ↗ ❏ CNF_System | |
| FK_STAT_Payment_UserId | UserId ↗ ❏ CNF_User | |
| FK_STAT_Payment_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatProductId | int IDENTITY |
| SystemId | int | |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserId | int | |
| * | MatrixCellId | int |
| * | FDate | datetime |
| * | Period | smallint |
| EncodedQty | int | |
| EncodedAmount | money | |
| VoidedQty | int | |
| VoidedAmount | money | |
| UpgradedFromQty | int | |
| UpgradedFromAmount | money | |
| UpgradedToQty | int | |
| UpgradedToAmount | money | |
| TotalRefundedQty | int | |
| TotalRefundedAmount | money | |
| ReissuedQty | int | |
| ReissuedAmount | money | |
| ReprintedQty | int | |
| ReprintedAmount | money | |
| ExternalQty | int | |
| ExternalAmount | money | |
| TaxAmount | money | |
| Indexes | ||
| PK__STAT_Pro__48DC0F777B224E7B | Primary Key ON StatProductId | |
| Foreign Key | ||
| FK_STAT_Product_MatrixCellId | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_STAT_Product_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_STAT_Product_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_STAT_Product_SystemId | SystemId ↗ ❏ CNF_System | |
| FK_STAT_Product_UserId | UserId ↗ ❏ CNF_User | |
| FK_STAT_Product_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | StatStatisticalGroupId | int IDENTITY |
| SystemId | int | |
| SiteId | int | |
| OperatingAreaId | int | |
| WorkstationId | int | |
| UserId | int | |
| * | StatisticalGroupId | int |
| * | FDate | datetime |
| * | Period | smallint |
| Quantity | int | |
| Amount | money | |
| Indexes | ||
| PK__STAT_Sta__EA11917A0097DF53 | Primary Key ON StatStatisticalGroupId | |
| Foreign Key | ||
| FK_STAT_StatisticalGroup_OperatingAreaId | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| FK_STAT_StatisticalGroup_SiteId | SiteId ↗ ❏ CNF_Site | |
| FK_STAT_StatisticalGroup_StatisticalGroupId | StatisticalGroupId ↗ ❏ CNF_StatisticalGroup | |
| FK_STAT_StatisticalGroup_SystemId | SystemId ↗ ❏ CNF_System | |
| FK_STAT_StatisticalGroup_UserId | UserId ↗ ❏ CNF_User | |
| FK_STAT_StatisticalGroup_WorkstationId | WorkstationId ↗ ❏ CNF_Workstation | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MatrixCellId | int |
| * | SKU | nvarchar(64) COLLATE Latin1_General_CI_AS |
| * | UmId | int |
| MinStock | float | |
| * | CheckInventoryOnSale | smallint DEFAULT 0 |
| DefaultCost | money | |
| DefaultSupplier | int | |
| CategoryId | int | |
| * | IsCombo | smallint DEFAULT 0 |
| * | MoveQty | smallint DEFAULT 1 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| pk_STOCK_CNF_Product | Primary Key ON MatrixCellId | |
| Foreign Key | ||
| FK_STOCK_CNF_Product_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_Product_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Relationship1220 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| Relationship1221 | UmId ↗ ❏ STOCK_CNF_Um | |
| Relationship1240 | DefaultSupplier ↗ ❏ DATA_Account(AccountId) | |
| Relationship1245 | CategoryId ↗ ❏ STOCK_CNF_ProductCategory | |
| Referring Foreign Key | ||
| Relationship1222 | MatrixCellId ↙ ❏ STOCK_CNF_ProductBarcodes | |
| FK_StockProductCombo_Product | MatrixCellId ↙ ❏ STOCK_CNF_ProductCombo(ComboMatrixCellId) | |
| Relationship1224 | MatrixCellId ↙ ❏ STOCK_CNF_ProductUm | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductBarcodeIf | int IDENTITY |
| * | Barcode | varchar(20) COLLATE Latin1_General_CI_AS |
| * | MatrixCellId | int |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| pk_STOCK_CNF_ProductBarcodes | Primary Key ON ProductBarcodeIf | |
| Foreign Key | ||
| FK_STOCK_CNF_ProductBarcodes_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_ProductBarcodes_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Relationship1222 | MatrixCellId ↗ ❏ STOCK_CNF_Product | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | CategoryId | int IDENTITY |
| ParentId | int | |
| * | Description | nvarchar(128) COLLATE Latin1_General_CI_AS |
| ExternalCode | nvarchar(64) COLLATE Latin1_General_CI_AS | |
| * | CategoryAK | nvarchar(38) COLLATE Latin1_General_CI_AS DEFAULT newid() |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| pk_STOCK_CNF_ProductCategory | Primary Key ON CategoryId | |
| IdxSTOCK_CNF_ProductCategory_ExternalCode | Index ON ExternalCode | |
| Foreign Key | ||
| FK_STOCK_CNF_ProductCategory_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_ProductCategory_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Relationship1244 | ParentId ↗ ❏ STOCK_CNF_ProductCategory(CategoryId) | |
| Referring Foreign Key | ||
| Relationship1245 | CategoryId ↙ ❏ STOCK_CNF_Product | |
| Relationship1244 | CategoryId ↙ ❏ STOCK_CNF_ProductCategory(ParentId) | |
| FK_StockProductCombo_ProductCategory | CategoryId ↙ ❏ STOCK_CNF_ProductCombo(ChildProductCategoryId) | |
| FK_CNF_PromotionProductCategory_CategoryId | CategoryId ↙ ❏ CNF_PromotionProductCategory(ProductCategoryId) | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ComboId | int IDENTITY |
| * | ComboMatrixCellId | int |
| ParentComboId | int | |
| Level | int | |
| Position | int | |
| * | Optional | smallint DEFAULT 0 |
| ChildMatrixCellId | int | |
| * | Choice | smallint DEFAULT 0 |
| ChildProductCategoryId | int | |
| DeltaPrice | money | |
| * | Enabled | smallint DEFAULT 1 |
| Description | varchar(20) COLLATE Latin1_General_CI_AS | |
| quantity | float | |
| * | FreeQuantity | smallint DEFAULT 0 |
| MinQty | float | |
| MaxQty | float | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__STOCK_CN__DD42582E989BC3F6 | Primary Key ON ComboId | |
| Foreign Key | ||
| FK_STOCK_CNF_ProductCombo_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_ProductCombo_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_StockProductCombo_Child | ChildMatrixCellId ↗ ❏ CNF_MatrixCell(MatrixCellId) | |
| FK_StockProductCombo_Parent | ParentComboId ↗ ❏ STOCK_CNF_ProductCombo(ComboId) | |
| FK_StockProductCombo_Product | ComboMatrixCellId ↗ ❏ STOCK_CNF_Product(MatrixCellId) | |
| FK_StockProductCombo_ProductCategory | ChildProductCategoryId ↗ ❏ STOCK_CNF_ProductCategory(CategoryId) | |
| Referring Foreign Key | ||
| DATA_TransactionItemCombo_ProductCombo | ComboId ↙ ❏ DATA_TransactionItem_Combo | |
| FK_StockProductCombo_Parent | ComboId ↙ ❏ STOCK_CNF_ProductCombo(ParentComboId) | |
| FK_StockProductComboChoice_ProductCombo | ComboId ↙ ❏ STOCK_CNF_ProductComboChoice | |
| DATA_SaleItemCombo_ProductCombo | ComboId ↙ ❏ DATA_SaleItem_Combo | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ComboChoiceId | int IDENTITY |
| * | ComboId | int |
| * | MatrixCellId | int |
| DeltaPrice | money | |
| * | Enabled | smallint DEFAULT 1 |
| quantity | float | |
| * | FreeQuantity | smallint DEFAULT 0 |
| MinQty | float | |
| MaxQty | float | |
| DefaultChoice | smallint | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__STOCK_CN__CD09E6FF5838DE17 | Primary Key ON ComboChoiceId | |
| Foreign Key | ||
| FK_STOCK_CNF_ProductComboChoice_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_ProductComboChoice_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| FK_StockProductComboChoice_MatrixCell | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| FK_StockProductComboChoice_ProductCombo | ComboId ↗ ❏ STOCK_CNF_ProductCombo | |
| Referring Foreign Key | ||
| DATA_TransactionItemCombo_ProductComboChoice | ComboChoiceId ↙ ❏ DATA_TransactionItem_Combo | |
| DATA_SaleItemCombo_ProductComboChoice | ComboChoiceId ↙ ❏ DATA_SaleItem_Combo | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | ProductUmId | int IDENTITY |
| * | Conversion | float |
| * | UmId | int |
| * | MatrixCellId | int |
| * | SellUnit | int DEFAULT 0 |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| pk_STOCK_CNF_ProductUm | Primary Key ON ProductUmId | |
| Foreign Key | ||
| FK_STOCK_CNF_ProductUm_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_ProductUm_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Relationship1223 | UmId ↗ ❏ STOCK_CNF_Um | |
| Relationship1224 | MatrixCellId ↗ ❏ STOCK_CNF_Product | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | UmId | int IDENTITY |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| * | UmAK | nvarchar(38) COLLATE Latin1_General_CI_AS DEFAULT newid() |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| pk_STOCK_CNF_Um | Primary Key ON UmId | |
| Foreign Key | ||
| FK_STOCK_CNF_Um_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_Um_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| Relationship1221 | UmId ↙ ❏ STOCK_CNF_Product | |
| Relationship1223 | UmId ↙ ❏ STOCK_CNF_ProductUm | |
| Relationship1234 | UmId ↙ ❏ STOCK_Movement | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | WarehouseId | int IDENTITY |
| * | Description | nvarchar(50) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| pk_STOCK_CNF_Warehouse | Primary Key ON WarehouseId | |
| Foreign Key | ||
| FK_STOCK_CNF_Warehouse_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_Warehouse_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Referring Foreign Key | ||
| Relationship1228 | WarehouseId ↙ ❏ STOCK_CNF_WarehouseAssign | |
| Relationship1233 | WarehouseId ↙ ❏ STOCK_Movement | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | WarehouseAssignId | int IDENTITY |
| OperatingAreaId | int | |
| WorkstationId | int | |
| * | WarehouseId | int |
| SiteId | int | |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| pk_STOCK_CNF_WarehouseAssign | Primary Key ON WarehouseAssignId | |
| Foreign Key | ||
| FK_STOCK_CNF_WarehouseAssign_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_STOCK_CNF_WarehouseAssign_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Relationship1228 | WarehouseId ↗ ❏ STOCK_CNF_Warehouse | |
| Relationship1229 | OperatingAreaId ↗ ❏ CNF_OperatingArea | |
| Relationship1230 | WorkstationId ↗ ❏ CNF_Workstation | |
| Relationship1239 | SiteId ↗ ❏ CNF_Site | |
| Triggers | ||
| Idx | Column Name | Data Type |
|---|---|---|
| * | MovementId | int IDENTITY |
| * | UserId | int |
| * | WarehouseId | int |
| * | MovementType | smallint |
| * | MatrixCellId | int |
| UmId | int | |
| * | Qty | float |
| UmQty | float | |
| Value | float | |
| TotValue | float | |
| ItemId | int | |
| UmConversion | float | |
| QtyLeft | float | |
| * | OnSale | smallint DEFAULT 0 |
| MovementDate | smalldatetime DEFAULT getdate() | |
| * | InOut | smallint DEFAULT 0 |
| QtyMoved | float | |
| MovementTime | datetime | |
| * | Completed | smallint DEFAULT 0 |
| TempLock | varchar(10) COLLATE Latin1_General_CI_AS | |
| Note | nvarchar(4000) COLLATE Latin1_General_CI_AS | |
| * | ApprovalStatus | smallint DEFAULT 1 |
| RequestId | nvarchar(32) COLLATE Latin1_General_CI_AS | |
| RequestDateTime | datetime | |
| Indexes | ||
| pk_STOCK_Movement | Primary Key ON MovementId | |
| idx_StockMovement_InOut | Index ON WarehouseId, MatrixCellId, InOut | |
| idx_StockMovement_Item | Index ON ItemId | |
| idx_StockMovement_QtyLeft | Index ON MovementDate, MatrixCellId, WarehouseId, QtyLeft | |
| idx_StockMovement_QtyToMove | Index ON QtyMoved, Qty, MatrixCellId, WarehouseId, InOut, Completed | |
| idx_StockMovement_TempKey | Index ON TempLock | |
| Foreign Key | ||
| Relationship1231 | ItemId ↗ ❏ DATA_TransactionItem | |
| Relationship1232 | UserId ↗ ❏ CNF_User | |
| Relationship1233 | WarehouseId ↗ ❏ STOCK_CNF_Warehouse | |
| Relationship1234 | UmId ↗ ❏ STOCK_CNF_Um | |
| Relationship1235 | MatrixCellId ↗ ❏ CNF_MatrixCell | |
| Referring Foreign Key | ||
| Relationship1236 | MovementId ↙ ❏ STOCK_MovementRef(MainMovementId) | |
| Relationship1237 | MovementId ↙ ❏ STOCK_MovementRef(MainMovementId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | MovementRefId | int IDENTITY |
| * | MainMovementId | int |
| * | ChildMovementId | int |
| * | Qty | float DEFAULT 0 |
| Indexes | ||
| pk_STOCK_MovementRef | Primary Key ON MovementRefId | |
| Foreign Key | ||
| Relationship1236 | MainMovementId ↗ ❏ STOCK_Movement(MovementId) | |
| Relationship1237 | MainMovementId ↗ ❏ STOCK_Movement(MovementId) | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ClientId | smallint |
| * | Id | int |
| * | Context | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Content | varchar(1000) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__SYNC_DOW__855F54E42366CEBC | Primary Key ON ClientId, Id | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ClientId | smallint |
| * | Id | int |
| * | Context | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Content | varchar(1000) COLLATE Latin1_General_CI_AS | |
| SyncDateTime | datetime | |
| Indexes | ||
| PK__SYNC_DOW__855F54E45C01C0C3 | Primary Key ON ClientId, Id | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ClientId | int |
| UplLastExec | datetime | |
| UplSucc | int | |
| UplError | int | |
| DWNLastExec | datetime | |
| DWNSucc | int | |
| DWNError | int | |
| SHARELastExec | datetime | |
| SHARESucc | int | |
| SHAREError | int | |
| SYNCHLastExec | datetime | |
| SYNCHSucc | int | |
| SYNCHError | int | |
| UPLGENLastExec | datetime | |
| UPLGENSucc | int | |
| UPLGENError | int | |
| Indexes | ||
| PK__SYNC_Exe__E67E1A24CC1D1E5C | Primary Key ON ClientId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Id | int IDENTITY |
| * | Context | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Content | varchar(1000) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__SYNC_NEW__3214EC07632C7C36 | Primary Key ON Id | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | ClientId | smallint |
| * | Id | int |
| * | Context | nvarchar(10) COLLATE Latin1_General_CI_AS |
| Content | varchar(1000) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__SYNC_TOU__855F54E4A19D2DA2 | Primary Key ON ClientId, Id | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AptStatusId | int IDENTITY |
| * | SessionId | nvarchar(64) COLLATE Latin1_General_CI_AS |
| * | WorkstationId | int |
| * | AccessPointId | int |
| * | TDVName | nvarchar(200) COLLATE Latin1_General_CI_AS |
| * | TDVNumber | int |
| * | TDVType | int |
| * | LastPing | datetime |
| Indexes | ||
| PK__SYS_APTS__F9143B7185ED850C | Primary Key ON AptStatusId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | TABLEID | int IDENTITY |
| * | TableName | varchar(100) COLLATE Latin1_General_CI_AS |
| IRN | int | |
| DateTimeModify | datetime | |
| DateTimeCheck | datetime | |
| FunctionCall | varchar(100) COLLATE Latin1_General_CI_AS | |
| Indexes | ||
| PK__SYS_Cach__2071EDCC7C6CB518 | Primary Key ON TABLEID | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Context | nchar(10) COLLATE Latin1_General_CI_AS |
| * | Key | nchar(10) COLLATE Latin1_General_CI_AS |
| * | Holder | nchar(38) COLLATE Latin1_General_CI_AS |
| Indexes | ||
| PK__SYS_Lock__51C47DE205C75A20 | Primary Key ON Context, Key | |
| idxSysLockHolded | Index ON Context, Holder | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | Context | varchar(5) COLLATE Latin1_General_CI_AS |
| * | Key | varchar(10) COLLATE Latin1_General_CI_AS |
| * | Who | varchar(20) COLLATE Latin1_General_CI_AS |
| Qty | int | |
| LastUsage | datetime | |
| * | ExtendedKey | varchar(40) COLLATE Latin1_General_CI_AS DEFAULT N'' |
| Indexes | ||
| PK_SYS_LockQty | Primary Key ON Context, Key, Who, ExtendedKey | |
| IDX_DATA_SYS_LockQty_ExtendedKey | Index ON ExtendedKey | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:34 Script Version: 5 ******/
CREATE view [dbo].[VW_AccountLimit]
as
select accountid,
dmgcategoryID,
AccountRestrictionId,
PerformanceID,
ISNULL(PerformanceName, EventName) as PerformanceName,
EventName,
Eventid,
PerfDateTime,
Saledate,
cast(Description as varchar(100)) as ResDescription,
AccountType + ' ' + RestrictionDescription as AccountType,
ISNULL(Saleid, ' ') as SaleID ,
ISNULL(TicketName, ' ') as TicketName,
ISNULL(ReservationAccountQuantity, ' ') as ReservationAccountQuantity,
ISNULL(WorkstationAK, ' ') as WorkstationAK,
ISNULL(UserName, ' ') as UserName,
ISNULL(reservationAK, ' ') as reservationAK
from (
select DATA_AccountLimit.accountid,
Null dmgcategoryID,
CNF_AccountRestriction.AccountRestrictionId as AccountRestrictionId,
CNF_AccountRestriction.StartDateTime as StartDateTime,
CNF_AccountRestriction.EndDateTime as EndDateTime,
CNF_AccountRestriction.Enabled as Enabled,
CNF_AccountRestriction.Description as Description,
CNF_AccountRestriction.RestrictionType as RestrictionType,
CNF_AccountRestriction.ReservationAccountLimit as ReservationAccountLimit,
CNF_AccountRestriction.TicketAccountLimit as TicketAccountLimit,
Lookup_0.Description as RestrictionDescription,
AccountType.Description as AccountType,
DATA_AccountLimit.SaleDate,
DATA_AccountLimit.SaleID,
DATA_AccountLimit.SaleItemid,
'[' + cnf_Matrixcell.code + ']' + cnf_Matrixcell.Name as TicketName,
DATA_AccountLimit.ReservationAccountQuantity,
cnf_User.username,
cnf_workstation.workstationAK,
data_reservation.reservationAK as reservationAK,
cnf_performance.PerformanceID,
cnf_performance.Eventid,
cnf_performance.PerfDateTime,
cnf_performance.PerformanceName,
cnf_Event.EventName
from CNF_AccountRestriction with (nolock)
INNER JOIN DATA_AccountLimit WITH(NOLOCK) ON data_accountlimit.accountrestrictionid = cnf_accountrestriction.accountrestrictionid
LEFT JOIN cnf_performance WITH(NOLOCK) ON cnf_performance.Performanceid = data_accountlimit.Performanceid
LEFT JOIN cnf_event WITH(NOLOCK) ON cnf_event.eventid = cnf_performance.eventid
INNER JOIN DATA_SaleItem WITH(NOLOCK) ON data_saleitem.saleitemid = data_accountLimit.SaleitemID
INNER JOIN data_sale WITH(NOLOCK) ON data_sale.saleid = data_saleitem.saleid
INNER JOIN cnf_user WITH(NOLOCK) ON cnf_user.Userid = data_sale.Userid
INNER JOIN cnf_Workstation WITH(NOLOCK) ON cnf_Workstation.workstationid = data_sale.workstationid
INNER JOIN cnf_Matrixcell WITH(NOLOCK) ON cnf_matrixcell.matrixcellid = data_saleitem.matrixcellid
LEFT JOIN data_reservation WITH(NOLOCK) ON data_reservation.saleid = data_accountlimit.saleid
inner join (SELECT CNF_LookUp.ItemId,
ISNULL(dbo.CNF_MultiLanguage.Translation, dbo.CNF_LookUp.Description) AS Description
FROM CNF_Lookup with (nolock)
LEFT JOIN CNF_MultiLanguage with (nolock) ON (CNF_Lookup.LookupTableId=CNF_MultiLanguage.ComponentName)
and (CNF_Lookup.ItemId=CNF_MultiLanguage.PropertyName)
and (CNF_MultiLanguage.FormName = 'LOOKUP')
and (CNF_MultiLanguage.LanguageId = 0)
WHERE (CNF_LookUp.LookUpTableId = (select lookuptableid from cnf_lookuptable where lookupname = 'Restriction Type' ) )
) AS Lookup_0 ON Lookup_0.ItemId=CNF_AccountRestriction.RestrictionType
inner join (SELECT CNF_LookUp.ItemId,
ISNULL(dbo.CNF_MultiLanguage.Translation, dbo.CNF_LookUp.Description) AS Description
FROM CNF_Lookup with (nolock)
LEFT JOIN CNF_MultiLanguage with (nolock) ON (CNF_Lookup.LookupTableId=CNF_MultiLanguage.ComponentName)
and (CNF_Lookup.ItemId=CNF_MultiLanguage.PropertyName)
and (CNF_MultiLanguage.FormName = 'LOOKUP')
and (CNF_MultiLanguage.LanguageId = 0)
WHERE (CNF_LookUp.LookUpTableId = (select lookuptableid from cnf_lookuptable where lookupname = 'Restriction Account Type') )
) AS AccountType ON AccountType.ItemId=CNF_AccountRestriction.AccountType
UNION ALL
select CNF_AccountRestriction2Account.Accountid,
CNF_AccountRestriction2dmgCategory.dmgcategoryid,
CNF_AccountRestriction.AccountRestrictionId as AccountRestrictionId,
CNF_AccountRestriction.StartDateTime as StartDateTime,
CNF_AccountRestriction.EndDateTime as EndDateTime,
CNF_AccountRestriction.Enabled as Enabled,
data_note.Note as Description,
null as RestrictionType,
null as ReservationAccountLimit,
CNF_AccountRestriction.TicketAccountLimit as TicketAccountLimit,
Lookup_0.Description as RestrictionDescription,
AccountType.Description as AccountType,
data_note.notedate,
null,
null,
null,
null,
cnf_User.username,
cnf_workstation.workstationAK,
null,
null,
null,
null,
null,
null
from
CNF_AccountRestriction with (nolock)
left join CNF_AccountRestriction2Account with (nolock) ON CNF_AccountRestriction2Account.AccountRestrictionId = CNF_AccountRestriction.AccountRestrictionId
left join CNF_AccountRestriction2dmgCategory with (nolock) ON CNF_AccountRestriction2dmgCategory.AccountRestrictionId = CNF_AccountRestriction.AccountRestrictionId
INNER JOIN data_note WITH(NOLOCK) on data_note.notekey = CNF_AccountRestriction.AccountRestrictionId
and data_note.notetype = 518
and data_note.note = 'Reset completed'
INNER JOIN cnf_User WITH(NOLOCK) ON cnf_User.userid = data_Note.Userid
INNER JOIN cnf_Workstation WITH(NOLOCK) ON cnf_workstation.workstationid = data_note.workstationid
inner join ( SELECT CNF_LookUp.ItemId,
ISNULL(dbo.CNF_MultiLanguage.Translation, dbo.CNF_LookUp.Description) AS Description
FROM CNF_Lookup with (nolock)
LEFT JOIN CNF_MultiLanguage with (nolock) ON (CNF_Lookup.LookupTableId=CNF_MultiLanguage.ComponentName)
and (CNF_Lookup.ItemId=CNF_MultiLanguage.PropertyName)
and (CNF_MultiLanguage.FormName = 'LOOKUP')
and (CNF_MultiLanguage.LanguageId = 0)
WHERE (CNF_LookUp.LookUpTableId = (select lookuptableid from cnf_lookuptable where lookupname = 'Restriction Type' ) )
) AS Lookup_0 ON Lookup_0.ItemId=CNF_AccountRestriction.RestrictionType
inner join (SELECT CNF_LookUp.ItemId,
ISNULL(dbo.CNF_MultiLanguage.Translation, dbo.CNF_LookUp.Description) AS Description
FROM CNF_Lookup with (nolock)
LEFT JOIN CNF_MultiLanguage with (nolock) ON (CNF_Lookup.LookupTableId=CNF_MultiLanguage.ComponentName)
and (CNF_Lookup.ItemId=CNF_MultiLanguage.PropertyName)
and (CNF_MultiLanguage.FormName = 'LOOKUP')
and (CNF_MultiLanguage.LanguageId = 0)
WHERE (CNF_LookUp.LookUpTableId = (select lookuptableid from cnf_lookuptable where lookupname = 'Restriction Account Type'))
) AS AccountType ON AccountType.ItemId=CNF_AccountRestriction.AccountType
)p | ||
| Idx | Column Name | Data Type |
| accountid | int | |
| dmgcategoryID | int | |
| AccountRestrictionId | int | |
| PerformanceID | int | |
| PerformanceName | nvarchar(200) | |
| EventName | nvarchar(100) | |
| Eventid | int | |
| PerfDateTime | datetime | |
| Saledate | datetime | |
| ResDescription | varchar(100) | |
| AccountType | nvarchar(1002) | |
| SaleID | int | |
| TicketName | nvarchar(188) | |
| ReservationAccountQuantity | int | |
| WorkstationAK | varchar(32) | |
| UserName | nvarchar(100) | |
| reservationAK | varchar(32) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:25 Script Version: 2 ******/
CREATE VIEW [dbo].[VW_Admissions]
AS
SELECT CNF_Site.SiteId,
CNF_Site.SiteName,
CNF_Location.LocationId,
CNF_Location.LocationCode,
CNF_Location.Name CNF_Name,
CNF_MatrixSheet.MatrixSheetId ,
CNF_Event.EventId,
CNF_Event.EventCode,
CNF_Event.EventName,
CNF_MatrixCell.MatrixCellId,
ADM_Gate.GateId ADM_GateId,
ADM_Gate.Name Gate_Name,
ADM_Gate.Description,
DATA_TicketUsage.FUsageDate,
DATA_TicketUsage.Gateid,
DATA_TicketUsage.UsageDate,
DATEPART(HOUR, DATA_TicketUsage.UsageDate) RotHour,
DATA_TicketUsage.UsageType,
DATA_TicketUsage.ValidateResult,
DATA_Ticket.PeopleCount,
DATA_Ticket.VoidType,
DATA_Ticket.Price,
DATA_Ticket.PrintedPrice
FROM DATA_TicketUsage WITH(NOLOCK)
LEFT JOIN DATA_Ticket WITH(NOLOCK) ON (DATA_Ticket.TicketId = DATA_TicketUsage.TicketId)
LEFT JOIN ADM_Gate WITH(NOLOCK) ON (ADM_Gate.GateId = DATA_TicketUsage.GateId)
LEFT JOIN CNF_Location WITH(NOLOCK) ON (CNF_Location.LocationId = ADM_Gate.LocationId)
LEFT JOIN CNF_Site WITH(NOLOCK) ON (CNF_Site.SiteId = CNF_Location.SiteId)
LEFT JOIN CNF_MatrixCell CNF_MatrixCell WITH(NOLOCK) ON (CNF_MatrixCell.MatrixCellId = DATA_Ticket.MatrixCellId)
INNER JOIN CNF_MatrixSheet CNF_MatrixSheet WITH(NOLOCK) ON (CNF_MatrixSheet.MatrixSheetId = CNF_MatrixCell.MatrixSheetId)
INNER JOIN CNF_Event CNF_Event WITH(NOLOCK) ON (CNF_Event.EventId = CNF_MatrixSheet.EventId)
INNER JOIN CNF_AttributeSet CNF_AttributeSet WITH(NOLOCK) ON (CNF_AttributeSet.AttributeSetId = CNF_MatrixCell.AttributeSetId) | ||
| Idx | Column Name | Data Type |
| SiteId | int | |
| SiteName | nvarchar(100) | |
| LocationId | int | |
| LocationCode | nvarchar(20) | |
| CNF_Name | nvarchar(100) | |
| MatrixSheetId | int | |
| EventId | int | |
| EventCode | nvarchar(20) | |
| EventName | nvarchar(100) | |
| MatrixCellId | int | |
| ADM_GateId | int | |
| Gate_Name | nvarchar(20) | |
| Description | nvarchar(100) | |
| FUsageDate | datetime | |
| Gateid | int | |
| UsageDate | datetime | |
| RotHour | int | |
| UsageType | smallint | |
| ValidateResult | smallint | |
| PeopleCount | int | |
| VoidType | smallint | |
| Price | float(8) | |
| PrintedPrice | float(8) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:25 Script Version: 3 ******/
CREATE view [dbo].[VW_Sales]
AS
select CNF_Site.SiteId,
CNF_Site.SiteCode,
CNF_Site.SiteName,
CNF_User.UserId,
CNF_User.UserCode,
CNF_User.UserName,
CNF_Event.EventId,
CNF_Event.EventCode,
CNF_Event.EventName,
CNF_PriceTable.PriceTableId,
CNF_PriceTable.Description,
CNF_PriceList.PriceListId,
CNF_PriceList.PriceListCode,
CNF_PriceList.PriceListName,
DATA_SaleItem.ProductType,
CNF_MatrixSheet.MatrixSheetId,
CNF_MatrixSheet.MatrixSheetName,
CNF_MatrixCell.MatrixCellId,
CNF_AttributeSet.AttributeCodes,
DATA_Transaction.TransactionType,
DATA_SaleItem.Quantity,
DATA_SaleItem.TotalAmount,
DATA_SaleItem.PeopleCount,
data_transaction.TransactionId,
FTransactionDate,
DATA_Transaction.Paid,
DATA_Transaction.Revenue,
DATA_Transaction.TaxRevenue,
CNF_OperatingArea.OperatingAreaId,
CNF_OperatingArea.AreaCode,
CNF_OperatingArea.OpAreaName,
CNF_Workstation.WorkstationDescription,
CNF_Workstation.WorkstationAK,
CNF_Workstation.WorkstationId,
AttributeNames,
DATA_SaleItem.UnitPrice,
DATA_Transaction.TransactionDate,
DATA_Transaction.Completed,
DATA_Transaction.Encoded,
DATA_Transaction.Validated,
DATA_Transaction.Approved,
DATA_Transaction.TransactionStatus,
DATA_Transaction.Tip,
DATA_Transaction.Change,
DATA_Transaction.Serial,
(select paid from data_sale where data_sale.saleid = data_transaction.saleid) as DSPaid
FROM DATA_Transaction WITH(NOLOCK)
INNER JOIN data_transactionITEM WITH(NOLOCK) ON (data_transactionitem.transactionid = data_transaction.transactionid)
INNER JOIN DATA_SaleItem WITH(NOLOCK) ON (DATA_SaleItem.Saleitemid = data_transactionitem.Saleitemid)
INNER JOIN CNF_MatrixCell WITH(NOLOCK) ON (CNF_MatrixCell.MatrixCellId = DATA_SaleItem.MatrixCellId)
INNER JOIN CNF_MatrixSheet WITH(NOLOCK) ON (CNF_MatrixSheet.MatrixSheetId = CNF_MatrixCell.MatrixSheetId)
INNER JOIN CNF_PriceTable WITH(NOLOCK) ON (CNF_MatrixCell.PriceTableId = CNF_PriceTable.PriceTableId)
INNER JOIN CNF_Site WITH(NOLOCK) ON (CNF_Site.SiteId = DATA_Transaction.SiteId)
INNER JOIN CNF_AttributeSet WITH(NOLOCK) ON (CNF_AttributeSet.AttributeSetId = CNF_MatrixCell.AttributeSetId)
INNER JOIN CNF_Event WITH(NOLOCK) ON (CNF_Event.EventId = CNF_MatrixSheet.EventId)
INNER JOIN CNF_PriceList WITH(NOLOCK) ON (CNF_PriceList.PriceListId = CNF_MatrixCell.PriceListId)
INNER JOIN CNF_User WITH(NOLOCK) ON (CNF_User.UserId = DATA_Transaction.UserId)
INNER JOIN CNF_OperatingArea WITH(NOLOCK) ON (CNF_OperatingArea.OperatingAreaId = DATA_Transaction.OperatingAreaId)
INNER JOIN CNF_Workstation WITH(NOLOCK) ON (CNF_Workstation.WorkstationId = DATA_Transaction.WorkstationId) | ||
| Idx | Column Name | Data Type |
| SiteId | int | |
| SiteCode | varchar(3) | |
| SiteName | nvarchar(100) | |
| UserId | int | |
| UserCode | nvarchar(100) | |
| UserName | nvarchar(100) | |
| EventId | int | |
| EventCode | nvarchar(20) | |
| EventName | nvarchar(100) | |
| PriceTableId | int | |
| Description | nvarchar(100) | |
| PriceListId | int | |
| PriceListCode | nvarchar(20) | |
| PriceListName | nvarchar(100) | |
| ProductType | smallint | |
| MatrixSheetId | int | |
| MatrixSheetName | nvarchar(60) | |
| MatrixCellId | int | |
| AttributeCodes | varchar(1000) | |
| TransactionType | smallint | |
| Quantity | smallint | |
| TotalAmount | float(8) | |
| PeopleCount | int | |
| TransactionId | int | |
| FTransactionDate | datetime | |
| Paid | smallint | |
| Revenue | float(8) | |
| TaxRevenue | float(8) | |
| OperatingAreaId | int | |
| AreaCode | nvarchar(20) | |
| OpAreaName | nvarchar(100) | |
| WorkstationDescription | nvarchar(100) | |
| WorkstationAK | varchar(32) | |
| WorkstationId | int | |
| AttributeNames | nvarchar(2000) | |
| UnitPrice | float(8) | |
| TransactionDate | datetime | |
| Completed | smallint | |
| Encoded | smallint | |
| Validated | smallint | |
| Approved | smallint | |
| TransactionStatus | smallint | |
| Tip | float(8) | |
| Change | float(8) | |
| Serial | int | |
| DSPaid | smallint | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | AdId | int IDENTITY |
| WebPageType | smallint | |
| WebPagePosition | int | |
| Link | ntext COLLATE Latin1_General_CI_AS | |
| Start | datetime | |
| Expiration | datetime | |
| AdSize | smallint | |
| Indexes | ||
| PK__WEB_Ad__7130D5AEE6187F2D | Primary Key ON AdId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | WebNewsId | int IDENTITY |
| * | Title | varchar(100) COLLATE Latin1_General_CI_AS |
| * | NewsDateTime | datetime |
| NewsExpiration | datetime | |
| * | NewPriority | smallint |
| * | NewsType | smallint |
| * | NewsCategory | smallint |
| Note | ntext COLLATE Latin1_General_CI_AS | |
| Image | nvarchar(50) COLLATE Latin1_General_CI_AS | |
| UserId | int | |
| EventId | int | |
| Indexes | ||
| PK__WEB_News__E1B735614DB958B6 | Primary Key ON WebNewsId | |
| Foreign Key | ||
| FK__WEB_News__EventI__7F0CB2F5 | EventId ↗ ❏ CNF_Event | |
| FK__WEB_News__UserId__0000D72E | UserId ↗ ❏ CNF_User | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | WebPageItemId | int IDENTITY |
| * | InfoType | smallint |
| * | PageId | int |
| * | ItemId | int |
| * | Position | int |
| Value | int | |
| Indexes | ||
| PK__Web_Page__586729F68E547C03 | Primary Key ON WebPageItemId | |
| Idx | Column Name | Data Type |
|---|---|---|
| * | LicenseId | int IDENTITY |
| * | SystemId | int |
| * | CreationDate | datetime |
| * | Enabled | smallint |
| * | LastUpdateDate | datetime |
| * | License | varchar(max) COLLATE Latin1_General_CI_AS |
| Last_UserId_Log | int | |
| Last_WorkstationId_Log | int | |
| Last_DateTime_Log | datetime | |
| Indexes | ||
| PK__CNF_Lice__72D60082F9BAFC7A | Primary Key ON LicenseId | |
| Foreign Key | ||
| FK__CNF_Licen__Syste__068DD92C | SystemId ↗ ❏ CNF_System | |
| FK_CNF_License_Last_UserId_Log | Last_UserId_Log ↗ ❏ CNF_User(UserId) | |
| FK_CNF_License_Last_WorkstationId_Log | Last_WorkstationId_Log ↗ ❏ CNF_Workstation(WorkstationId) | |
| Triggers | ||
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 05/02/2021 09:33:52 Script Version: 1 ******/
CREATE view [dbo].[otn_vw_AccountLimit]
as
select accountid,
dmgcategoryID,
AccountRestrictionId,
PerformanceID,
Eventid,
PerfDateTime,
Saledate,
cast(Description as varchar(100)) as ResDescription,
ISNULL(Saleid, ' ') as SaleID ,
ISNULL(TicketName, ' ') as TicketName,
ISNULL(ReservationAccountQuantity, ' ') as ReservationAccountQuantity,
ISNULL(TicketAccountQuantity, ' ') as TicketAccountQuantity,
ISNULL(WorkstationAK, ' ') as WorkstationAK,
ISNULL(UserName, ' ') as UserName,
ISNULL(reservationAK, ' ') as reservationAK
from (
select DATA_AccountLimit.accountid,
Null dmgcategoryID,
CNF_AccountRestriction.AccountRestrictionId as AccountRestrictionId,
CNF_AccountRestriction.StartDateTime as StartDateTime,
CNF_AccountRestriction.EndDateTime as EndDateTime,
CNF_AccountRestriction.Enabled as Enabled,
CNF_AccountRestriction.Description as Description,
CNF_AccountRestriction.RestrictionType as RestrictionType,
CNF_AccountRestriction.ReservationAccountLimit as ReservationAccountLimit,
CNF_AccountRestriction.TicketAccountLimit as TicketAccountLimit,
Lookup_0.Description as RestrictionDescription,
DATA_AccountLimit.SaleDate,
DATA_AccountLimit.SaleID,
DATA_AccountLimit.SaleItemid,
'[' + cnf_Matrixcell.code + ']' + cnf_Matrixcell.Name as TicketName,
DATA_AccountLimit.ReservationAccountQuantity,
DATA_AccountLimit.TicketAccountQuantity,
cnf_User.username,
cnf_workstation.workstationAK,
data_reservation.reservationAK as reservationAK,
cnf_performance.PerformanceID,
cnf_performance.Eventid,
cnf_performance.PerfDateTime
from CNF_AccountRestriction with (nolock)
INNER JOIN DATA_AccountLimit WITH(NOLOCK) ON data_accountlimit.accountrestrictionid = cnf_accountrestriction.accountrestrictionid
LEFT JOIN cnf_performance WITH(NOLOCK) ON cnf_performance.Performanceid = data_accountlimit.Performanceid
LEFT JOIN cnf_event WITH(NOLOCK) ON cnf_event.eventid = cnf_performance.eventid
INNER JOIN DATA_SaleItem WITH(NOLOCK) ON data_saleitem.saleitemid = data_accountLimit.SaleitemID
INNER JOIN data_sale WITH(NOLOCK) ON data_sale.saleid = data_saleitem.saleid
INNER JOIN cnf_user WITH(NOLOCK) ON cnf_user.Userid = data_sale.Userid
INNER JOIN cnf_Workstation WITH(NOLOCK) ON cnf_Workstation.workstationid = data_sale.workstationid
INNER JOIN cnf_Matrixcell WITH(NOLOCK) ON cnf_matrixcell.matrixcellid = data_saleitem.matrixcellid
LEFT JOIN data_reservation WITH(NOLOCK) ON data_reservation.saleid = data_accountlimit.saleid
inner join (SELECT CNF_LookUp.ItemId,
ISNULL(dbo.CNF_MultiLanguage.Translation, dbo.CNF_LookUp.Description) AS Description
FROM CNF_Lookup with (nolock)
LEFT JOIN CNF_MultiLanguage with (nolock) ON (CNF_Lookup.LookupTableId=CNF_MultiLanguage.ComponentName)
and (CNF_Lookup.ItemId=CNF_MultiLanguage.PropertyName)
and (CNF_MultiLanguage.FormName = 'LOOKUP')
and (CNF_MultiLanguage.LanguageId = 0)
WHERE (CNF_LookUp.LookUpTableId = 818)
) AS Lookup_0 ON Lookup_0.ItemId=CNF_AccountRestriction.RestrictionType
UNION ALL
select CNF_AccountRestriction2Account.Accountid,
CNF_AccountRestriction2dmgCategory.dmgcategoryid,
CNF_AccountRestriction.AccountRestrictionId as AccountRestrictionId,
CNF_AccountRestriction.StartDateTime as StartDateTime,
CNF_AccountRestriction.EndDateTime as EndDateTime,
CNF_AccountRestriction.Enabled as Enabled,
data_note.Note as Description,
null as RestrictionType,
null as ReservationAccountLimit,
CNF_AccountRestriction.TicketAccountLimit as TicketAccountLimit,
Lookup_0.Description as RestrictionDescription,
data_note.notedate,
null,
null,
null,
null,
null,
cnf_User.username,
cnf_workstation.workstationAK,
null,
null,
null,
null
from
CNF_AccountRestriction with (nolock)
left join CNF_AccountRestriction2Account with (nolock) ON CNF_AccountRestriction2Account.AccountRestrictionId = CNF_AccountRestriction.AccountRestrictionId
left join CNF_AccountRestriction2dmgCategory with (nolock) ON CNF_AccountRestriction2dmgCategory.AccountRestrictionId = CNF_AccountRestriction.AccountRestrictionId
INNER JOIN data_note WITH(NOLOCK) on data_note.notekey = CNF_AccountRestriction.AccountRestrictionId
and data_note.notetype = 518
and data_note.note = 'Reset completed'
INNER JOIN cnf_User WITH(NOLOCK) ON cnf_User.userid = data_Note.Userid
INNER JOIN cnf_Workstation WITH(NOLOCK) ON cnf_workstation.workstationid = data_note.workstationid
inner join ( SELECT CNF_LookUp.ItemId,
ISNULL(dbo.CNF_MultiLanguage.Translation, dbo.CNF_LookUp.Description) AS Description
FROM CNF_Lookup with (nolock)
LEFT JOIN CNF_MultiLanguage with (nolock) ON (CNF_Lookup.LookupTableId=CNF_MultiLanguage.ComponentName)
and (CNF_Lookup.ItemId=CNF_MultiLanguage.PropertyName)
and (CNF_MultiLanguage.FormName = 'LOOKUP')
and (CNF_MultiLanguage.LanguageId = 0)
WHERE (CNF_LookUp.LookUpTableId = 818)
) AS Lookup_0 ON Lookup_0.ItemId=CNF_AccountRestriction.RestrictionType
)p | ||
| Idx | Column Name | Data Type |
| accountid | int | |
| dmgcategoryID | int | |
| AccountRestrictionId | int | |
| PerformanceID | int | |
| Eventid | int | |
| PerfDateTime | datetime | |
| Saledate | datetime | |
| ResDescription | varchar(100) | |
| SaleID | int | |
| TicketName | nvarchar(188) | |
| ReservationAccountQuantity | int | |
| TicketAccountQuantity | int | |
| WorkstationAK | varchar(32) | |
| UserName | nvarchar(100) | |
| reservationAK | varchar(32) | |
1
| Idx | Column Name | Definition | Description |
|---|---|---|---|
| * | name | sysname COLLATE Latin1_General_CI_AS | |
| * | principal_id | int | |
| * | diagram_id | int IDENTITY | |
| version | int | ||
| definition | varbinary(max) | ||
| Indexes | |||
| PK__sysdiagr__C2B05B61200AE6E6 | Primary Key ON diagram_id | ||
| UK_principal_name | Unique Key ON principal_id, name | ||
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:25 Script Version: 1 ******/
create view [dbo].[vwDmgCategoryHiercachy]
as
WITH DmgHiercachy AS
(SELECT DmgCategoryId, DmgCategoryId DMGParentId, 0 as level, description as parentdescr, description
FROM CNF_DmgCategory
WHERE DmgType = 1
UNION ALL
SELECT DmgParent.DmgCategoryId,
DmgHiercachy.DmgParentId,DmgHiercachy.level +1 as level,
DmgHiercachy.parentdescr as parentdescr, DmgParent.description
FROM CNF_DmgCategory DmgParent, DmgHiercachy
WHERE DmgParent.DMGParentId = DmgHiercachy.DmgCategoryId)
SELECT DmgCategoryId, DmgParentId, level, parentdescr, Description
FROM DmgHiercachy | ||
| Idx | Column Name | Data Type |
| DmgCategoryId | int | |
| DmgParentId | int | |
| level | int | |
| parentdescr | nvarchar(100) | |
| Description | nvarchar(100) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:31 Script Version: 2 ******/
CREATE view [dbo].[vwInntopia_ExportAccountInformation]
AS
select DATA_Reservation.Reservationak,
data_account.Accountid as CustomerAccountID,
data_account.ParentAccountID as FamilyID,
TitleData.MaskData as Title,
data_account.FirstName,
data_account.SurName as LastName,
BirthDate.maskdata as Birthdate,
GenderData.MaskData as Gender,
Data_Account.Address1 as Address1,
Address2.MaskData as Address2,
Address3.MaskData as Address3,
data_account.City,
data_account.State,
data_account.ZipCode as PostalCode,
data_account.Country as Country,
AddressOptOut.MaskData as AddressOptOut,
data_account.EmailAddress1 as EmailAddress,
EmailOptOut.MaskData as EmailOptOut,
COALESCE(data_account.MobilePhone, data_account.HomePhone, data_account.BusinessPhone) as PhoneNumber,
PhoneOptOut.MaskData as PhoneOptOut,
data_account.DmgCategoryId as AccountCategoryID,
CNF_DmgCategory.Description as AccountCategoryDesc,
data_account.UpdDateTime,
data_account.InsDateTime
from data_account
INNER JOIN DATA_Reservation ON Data_Reservation.Accountid = Data_Account.Accountid
INNER JOIN CNF_DmgCategory on CNF_DmgCategory.dmgcategoryID = data_account.DmgCategoryId
LEFT JOIN DATA_DmgData TitleData on TitleData.fkey = data_account.accountid
and TitleData.dmgtype = 1 and TitleData.ObjType = 5
LEFT JOIN DATA_DmgData BirthDate on BirthDate.fkey = data_account.accountid
and BirthDate.dmgtype = 1 and BirthDate.ObjType = 24
LEFT JOIN DATA_DmgData GenderData on GenderData.fkey = data_account.accountid
and GenderData.dmgtype = 1 and GenderData.ObjType = 24
LEFT JOIN DATA_DmgData Address2 on Address2.fkey = data_account.accountid
and Address2.dmgtype = 1 and Address2.ObjType = 7
LEFT JOIN DATA_DmgData Address3 on Address3.fkey = data_account.accountid
and Address3.dmgtype = 1 and Address3.ObjType =27
LEFT JOIN DATA_DmgData AddressOptOut on AddressOptOut.fkey = data_account.accountid
and AddressOptOut.dmgtype = 1 and AddressOptOut.ObjType =5002
LEFT JOIN DATA_DmgData EmailOptOut on EmailOptOut.fkey = data_account.accountid
and EmailOptOut.dmgtype = 1 and EmailOptOut.ObjType =5001
LEFT JOIN DATA_DmgData PhoneOptOut on PhoneOptOut.fkey = data_account.accountid
and PhoneOptOut.dmgtype = 1 and PhoneOptOut.ObjType =5004 | ||
| Idx | Column Name | Data Type |
| Reservationak | varchar(32) | |
| CustomerAccountID | int | |
| FamilyID | int | |
| Title | nvarchar(400) | |
| FirstName | nvarchar(400) | |
| LastName | nvarchar(400) | |
| Birthdate | nvarchar(400) | |
| Gender | nvarchar(400) | |
| Address1 | nvarchar(400) | |
| Address2 | nvarchar(400) | |
| Address3 | nvarchar(400) | |
| City | nvarchar(400) | |
| State | nvarchar(400) | |
| PostalCode | nvarchar(400) | |
| Country | nvarchar(400) | |
| AddressOptOut | nvarchar(400) | |
| EmailAddress | nvarchar(400) | |
| EmailOptOut | nvarchar(400) | |
| PhoneNumber | nvarchar(400) | |
| PhoneOptOut | nvarchar(400) | |
| AccountCategoryID | int | |
| AccountCategoryDesc | nvarchar(100) | |
| UpdDateTime | datetime | |
| InsDateTime | datetime | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:30 Script Version: 2 ******/
CREATE view [dbo].[vwInntopia_ExportPassInformation]
AS
select data_Account.Accountid as CustomerAccountID,
data_sale.saleid as SalesID,
data_saleitem.saleitemid as SaleitemID,
Data_Ticket.Ticketid as Ticketid,
VoidType.Description as VoidType,
data_saleitem.UnitPrice as Unitprice,
data_sale.fsaleDate as SalesDate,
Data_Ticket.ActiveFrom as Activefrom,
data_ticket.ActiveTo as ActiveTo,
cnf_matrixcell.matrixcellid as ProductID,
cnf_matrixcell.Description as ProductDescription,
cnf_dmgcategory.description as ProductCategoryDescription,
cnf_matrixsheet.Matrixsheetname as ProductGroup
from data_Account
INNER JOIN data_ticket on data_ticket.accountid = data_account.accountid
INNER JOIN DATA_SaleItem on data_saleitem.saleitemid = data_ticket.saleitemid
INNER JOIN DATA_Sale on data_sale.saleid = data_saleitem.saleid
INNER JOIN CNF_MatrixCell on cnf_matrixcell.matrixcellid = data_saleitem.matrixcellid
LEFT JOIN CNF_DmgCategory on CNF_DmgCategory.dmgcategoryid = cnf_matrixcell.dmgcategoryid
INNER JOIN CNF_MatrixSheet on CNF_MatrixSheet.matrixsheetid = cnf_matrixcell.MatrixSheetId
INNER JOIN CNF_LookUp VoidType on Voidtype.Itemid = data_ticket.voidtype and VoidType.lookuptableid = 5 | ||
| Idx | Column Name | Data Type |
| CustomerAccountID | int | |
| SalesID | int | |
| SaleitemID | int | |
| Ticketid | int | |
| VoidType | nvarchar(160) | |
| Unitprice | float(8) | |
| SalesDate | datetime | |
| Activefrom | datetime | |
| ActiveTo | datetime | |
| ProductID | int | |
| ProductDescription | nvarchar(200) | |
| ProductCategoryDescription | nvarchar(100) | |
| ProductGroup | nvarchar(60) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:30 Script Version: 2 ******/ CREATE view [dbo].[vwInntopia_ExportSales] AS Select Data_Sale.Saleid, DATA_SaleItem.SaleItemId as SaleslineID, data_reservation.accountid as PurchaserCustomerID, data_ticket.accountid as ParticipantCustomerID, cnf_matrixcell.matrixcellid as ProductID, cnf_matrixcell.description as ProductDescription, CNF_DmgCategory.Description as ProductCategoryDescription, cnf_matrixsheet.matrixsheetname as ProductGroup, case when data_sale.Completed = 1 then 'Completed' when data_sale.Validated = 1 then 'Validated' when data_sale.Encoded = 1 then 'Encoded' when data_sale.Paid = 1 then 'Paid' end as Status, 1 as SaleItemQuantity, data_saleitem.unitrawprice as UnitPrice, data_saleitem.unittaxes as UnitTaxes, (select sum(discountamount) from data_saleitemrule where data_saleitemrule.saleitemid = DATA_SaleItem.saleitemid) as promotionamount, CNF_Workstation.WorkstationAK as WorkstationAK, CNF_OperatingArea.OpAreaName as OperatingAreaName, SaleSite.SiteName as SaleSiteName, CNF_Location.LocationID as EventLocationID, CNF_Location.Name as EventLocationDescription, PerfSite.SiteName as PerfSiteName, data_sale.saledate as SalesDate, CNF_Performance.PerfDateTime as PerformanceBeginDate, CNF_Performance.PerformanceEnd as PerformanceEndDate, CNF_Performance.PerformanceID, CNF_Performance.PerformanceName as PerformanceDescription, CNF_User.Userid as Agentid, CNF_User.UserName as AgentName, null as ExternalOrderID, null as ExternalSource, data_sale.Approved, data_sale.Paid, data_sale.Completed, data_sale.Validated, data_sale.Encoded from data_sale INNER JOIN DATA_SaleItem on data_saleitem.saleid = data_sale.saleid INNER JOIN DATA_Reservation on DATA_Reservation.saleid = data_sale.saleid LEFT JOIN DATA_Ticket on data_ticket.Saleitemid = data_saleitem.saleitemid INNER JOIN CNF_MatrixCell on cnf_matrixcell.matrixcellid = data_saleitem.matrixcellid LEFT JOIN CNF_DmgCategory on CNF_DmgCategory.Dmgcategoryid = cnf_matrixcell.dmgcategoryid INNER JOIN CNF_MatrixSheet on cnf_matrixsheet.matrixsheetid = cnf_matrixcell.MatrixSheetId INNER JOIN CNF_Workstation on CNF_Workstation.workstationid = data_sale.WorkstationId INNER JOIN CNF_OperatingArea on CNF_OperatingArea.OperatingAreaId = cnf_workstation.OperatingAreaId INNER JOIN CNF_Site SaleSite on SaleSite.SiteID = CNF_OperatingArea.SiteID INNER JOIN CNF_User on CNF_User.Userid = data_sale.userid LEFT JOIN data_saleitem2Performance on data_saleitem2Performance.saleitemid = data_saleitem.saleitemid LEFT JOIN CNF_Performance on cnf_performance.performanceid = data_saleitem2Performance.PerformanceId LEFT JOIN ADM_AccessConfiguration on ADM_AccessConfiguration.AccessConfigurationId = CNF_Performance.AccessConfigurationId LEFT JOIN CNF_Location on cnf_location.locationid = ADM_AccessConfiguration.locationid LEFT JOIN CNF_Site PerfSite on PerfSite.SiteID = CNF_OperatingArea.SiteID Where Data_Sale.Paid = 1 | ||
| Idx | Column Name | Data Type |
| Saleid | int | |
| SaleslineID | int | |
| PurchaserCustomerID | int | |
| ParticipantCustomerID | int | |
| ProductID | int | |
| ProductDescription | nvarchar(200) | |
| ProductCategoryDescription | nvarchar(100) | |
| ProductGroup | nvarchar(60) | |
| Status | varchar(9) | |
| SaleItemQuantity | int | |
| UnitPrice | float(8) | |
| UnitTaxes | float(8) | |
| promotionamount | money | |
| WorkstationAK | varchar(32) | |
| OperatingAreaName | nvarchar(100) | |
| SaleSiteName | nvarchar(100) | |
| EventLocationID | int | |
| EventLocationDescription | nvarchar(100) | |
| PerfSiteName | nvarchar(100) | |
| SalesDate | datetime | |
| PerformanceBeginDate | datetime | |
| PerformanceEndDate | datetime | |
| PerformanceID | int | |
| PerformanceDescription | nvarchar(200) | |
| Agentid | int | |
| AgentName | nvarchar(100) | |
| ExternalOrderID | int | |
| ExternalSource | int | |
| Approved | smallint | |
| Paid | smallint | |
| Completed | smallint | |
| Validated | smallint | |
| Encoded | smallint | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:30 Script Version: 2 ******/
CREATE view [dbo].[vwInntopia_ExportScanInformationforAccounts]
AS
select Data_ticket.Accountid as TicketAccountID,
DATA_MediaIdentifier.IdentifierCode as MediaIdentifierCode,
Data_Account.Membership as Membershipflag,
Data_TicketUsage.Usagedate,
Adm_Gate.Gateid as ScanLocationKey,
Adm_Gate.Description as ScanLocationDescription,
cnf_Site.Siteid as ScanLocationResort,
cnf_Site.Sitename as ScanLocationResortName,
(select count(*)
from data_ticketusage DTU
INNER JOIN DATA_Ticket DT on DT.ticketid = DTU.ticketid
where DTU.UsageType = 1
and DT.ticketid = data_ticket.ticketid
and DTU.ValidateResult < 100) TotalNumofScansforThisTicket
from data_ticket
INNER JOIN DATA_Account on data_account.accountid = data_ticket.accountid
INNER JOIN DATA_TicketUsage on data_ticketusage.ticketid = data_ticket.ticketid
INNER JOIN CNF_MatrixCell on cnf_matrixcell.matrixcellid = data_ticket.matrixcellid
INNER JOIN DATA_MediaIdentifier on DATA_MediaIdentifier.MediaIdentifierId = data_ticketusage.MediaIdentifierId
INNER JOIN ADM_Gate on ADM_Gate.Gateid = data_ticketusage.Gateid
INNER JOIN cnf_location on cnf_location.Locationid = Adm_Gate.Locationid
INNER JOIN CNF_Site on cnf_Site.Siteid = cnf_location.siteid
where data_ticketusage.ValidateResult < 100
and data_ticketUsage.usagetype = 1 | ||
| Idx | Column Name | Data Type |
| TicketAccountID | int | |
| MediaIdentifierCode | varchar(400) | |
| Membershipflag | smallint | |
| Usagedate | datetime | |
| ScanLocationKey | int | |
| ScanLocationDescription | nvarchar(100) | |
| ScanLocationResort | int | |
| ScanLocationResortName | nvarchar(100) | |
| TotalNumofScansforThisTicket | int | |
| Query | ||
|---|---|---|
CREATE view [dbo].[${schemaName}.${viewName}]
AS
SELECT
CNF_Site.SiteId,
CNF_Site.SiteName,
CNF_Site.SiteDescription,
CNF_Site.SiteAK,
Add1.MaskData as CompanyAddress1,
Add2.MaskData as CompanyAddress2,
City.MaskData as CompanyCity,
State.MaskData as CompanyState,
Zip.MaskData as CompanyZip,
Country.MaskData as CompanyCountry,
BPhone.MaskData as BusinessPhone,
Fax.MaskData as CompanyFax,
Web.MaskData as CompanyWebSite,
City.MaskData + ', ' + State.MaskData + ' ' + Zip.MaskData as CityStateZip
FROM CNF_SITE
left outer join DATA_DmgData Add1
on Add1.fkey = CNF_Site.Siteid
and Add1.dmgtype = 29 and Add1.objtype = 36
left outer join DATA_DmgData Add2
on Add2.fkey = CNF_Site.Siteid
and Add2.dmgtype = 29 and Add2.objtype = 37
left outer join DATA_DmgData City
on City.fkey = CNF_Site.Siteid
and City.dmgtype = 29 and City.objtype = 38
left outer join DATA_DmgData State
on State.fkey = CNF_Site.Siteid
and State.dmgtype = 29 and State.objtype = 39
left outer join DATA_DmgData Zip
on Zip.fkey = CNF_Site.Siteid
and Zip.dmgtype = 29 and Zip.objtype = 40
left outer join DATA_DmgData BPhone
on BPhone.fkey = CNF_Site.Siteid
and BPhone.dmgtype = 29 and BPhone.objtype = 42
left outer join DATA_DmgData Fax
on Fax.fkey = CNF_Site.Siteid
and Fax.dmgtype = 29 and Fax.objtype = 44
left outer join DATA_DmgData Web
on Web.fkey = CNF_Site.Siteid
and Web.dmgtype = 29 and Web.objtype = 50
left outer join DATA_DmgData Country
on Country.fkey = CNF_Site.Siteid
and Country.dmgtype = 29 and Country.objtype = 41 | ||
| Idx | Column Name | Data Type |
| SiteId | int | |
| SiteName | nvarchar(100) | |
| SiteDescription | nvarchar(100) | |
| SiteAK | varchar(32) | |
| CompanyAddress1 | nvarchar(400) | |
| CompanyAddress2 | nvarchar(400) | |
| CompanyCity | nvarchar(400) | |
| CompanyState | nvarchar(400) | |
| CompanyZip | nvarchar(400) | |
| CompanyCountry | nvarchar(400) | |
| BusinessPhone | nvarchar(400) | |
| CompanyFax | nvarchar(400) | |
| CompanyWebSite | nvarchar(400) | |
| CityStateZip | nvarchar(1206) | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/ /****** Updater Date: 29/08/2024 11:51:26 Script Version: 2 ******/ CREATE view [dbo].[vwStatisticalGroup] as select Main.StatisticalGroupId MainId, cschild.StatisticalGroupId ChildId, Main.StatisticalGroupDescription, cschild.StatisticalGroupDescription Child, Main.Level MainLevel, cschild.Level ChildLevel, cschild.Level-Main.Level RelLevel, Main.Position MainPosition, cschild.Position ChildPosition, cschild.Position-Main.Position RelPosition from ( select csg.Level, csg.Position, csg.StatisticalGroupId, csg.Position StartPos, csg.StatisticalGroupDescription, Min(csgns.Position) EndPos from cnf_statisticalgroup csg left join cnf_statisticalgroup csgns on csgns.Level <= csg.Level and csgns.Position>csg.Position group by csg.Level, csg.Position, csg.StatisticalGroupDescription, csg.StatisticalGroupId, csg.Position union select 0, 0, null, 0, 'All', null ) Main left join ( select StatisticalGroupId, StatisticalGroupCode, StatisticalGroupDescription, ParentId, Position, Level from cnf_statisticalgroup union select 0,'','All',null,0,0) as cschild on cschild.Position >= Main.StartPos and cschild.Position <= IsNull(EndPos-1, cschild.Position) | ||
| Idx | Column Name | Data Type |
| MainId | int | |
| ChildId | int | |
| StatisticalGroupDescription | nvarchar(200) | |
| Child | nvarchar(200) | |
| MainLevel | int | |
| ChildLevel | int | |
| RelLevel | int | |
| MainPosition | int | |
| ChildPosition | int | |
| RelPosition | int | |
| Query | ||
|---|---|---|
/****** OVWTOOLS - StoredProcedure, View and Function Version Control ******/
/****** Updater Date: 29/08/2024 11:51:26 Script Version: 3 ******/
CREATE VIEW [dbo].[vwStock_Inventory]
AS
SELECT
SCP.MinStock,
SCP.MatrixCellId,
SCP.SKU AS Product,
dbo.STOCK_CNF_Warehouse.WarehouseId,
dbo.STOCK_CNF_Um.Description AS Um,
dbo.STOCK_CNF_Warehouse.Description AS WareHouse,
Sum(Inventory.QtyLeft) AS QtyLeft,
Sum(Inventory.QtyOut) AS QtyOut,
Sum(Inventory.QtyToMove) AS QtyToMove,
dbo.CNF_MatrixCell.Price,
dbo.CNF_MatrixCell.Name
FROM
(
SELECT
MatrixCellId,
WarehouseId,
Sum(QtyLeft) AS QtyLeft,
0 AS QtyOut,
0 AS QtyToMove
FROM dbo.STOCK_Movement WITH (nolock)
WHERE
( InOut = 1 )
AND ( MovementType NOT IN ( 5, 6 )) -- Excluded the Refund and Void Sales
AND ( Completed = 1 )
AND ( ApprovalStatus = 1 )
GROUP BY MatrixCellId,
WarehouseId
UNION
SELECT
MatrixCellId,
WarehouseId,
0 AS Expr1,
Sum(qty) AS QtyOut,
Sum(qty - qtymoved) AS QtyToMove
FROM dbo.STOCK_Movement AS STOCK_Movement_2 WITH (nolock)
WHERE ( InOut = -1 )
AND ( MovementDate = Dateadd(day, Datediff(day, 0, Getdate()), 0) )
AND ( ApprovalStatus = 1 )
GROUP BY MatrixCellId,
WarehouseId
UNION
SELECT
MatrixCellId,
WarehouseId,
0 AS Expr1,
Sum(-qty) AS QtyOut,
Sum(-qty) AS QtyToMove -- In order to manage correctly the QtyToMove in case of Refund or Void Sales
FROM dbo.STOCK_Movement AS STOCK_Movement_1 WITH (nolock)
WHERE ( InOut = 1 )
AND ( MovementType IN ( 5, 6 ) )
AND ( MovementDate = Dateadd(day, Datediff(day, 0, Getdate()), 0) )
AND ( ApprovalStatus = 1 )
GROUP BY MatrixCellId,
WarehouseId
) AS Inventory
INNER JOIN dbo.STOCK_CNF_Product AS SCP WITH (nolock) ON Inventory.MatrixCellId = SCP.MatrixCellId
INNER JOIN dbo.STOCK_CNF_Warehouse WITH (nolock) ON Inventory.WarehouseId = dbo.STOCK_CNF_Warehouse.WarehouseId
INNER JOIN dbo.STOCK_CNF_Um WITH (nolock) ON dbo.STOCK_CNF_Um.UmId = SCP.UmId
INNER JOIN dbo.CNF_MatrixCell WITH (nolock) ON SCP.MatrixCellId = dbo.CNF_MatrixCell.MatrixCellId
GROUP BY
SCP.MinStock,
SCP.MatrixCellId,
SCP.SKU,
dbo.STOCK_CNF_Warehouse.WarehouseId,
dbo.STOCK_CNF_Um.Description,
dbo.STOCK_CNF_Warehouse.Description,
dbo.CNF_MatrixCell.price,
dbo.CNF_MatrixCell.Name | ||
| Idx | Column Name | Data Type |
| MinStock | float(8) | |
| MatrixCellId | int | |
| Product | nvarchar(128) | |
| WarehouseId | int | |
| Um | nvarchar(100) | |
| WareHouse | nvarchar(100) | |
| QtyLeft | float(8) | |
| QtyOut | float(8) | |
| QtyToMove | float(8) | |
| Price | float(8) | |
| Name | nvarchar(120) | |